mirror of
https://github.com/typesense/typesense.git
synced 2025-05-21 14:12:27 +08:00
1. Collect all the nodes where cost exceeds threshold. 2. Sort these nodes based on a score. 3. Perform top-k iteration to locate high scoring leaves. This ensures that small scoring leaves don't end up trumping leaves with higher score (as it was noticed).