forked from milvus-io/milvus
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
enhance: Use
MARISA_LABEL_ORDER
when building trie index
Related to milvus-io#35941 Previous PR: milvus-io#35943 This PR make `Trie` index using `MARISA_LABEL_ORDER`, which make predictive search iterating in lexicographic order. When trie index is build in label order, lexicographc could be utilized accelerating `Range` operations. However according to the official document, using `MARISA_LABEL_ORDER` will make "exact match lookup, common prefix search, and predictive search" slower. Signed-off-by: Congqi Xia <[email protected]>
- Loading branch information
Showing
1 changed file
with
87 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters