-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sparse: refactor approx dimension max score ratio (#1029)
* sparse: refactor approx dimension max score ratio 1. Move the dimension max score ratio from build params to search params, and rename it from `wand_bm25_max_score_ratio` to `dim_max_score_ratio`. 2. Remove template param `bm25` and add a new `SparseMetricType`. 3. Wrap some params of `Search()` to `InvertedIndexApproxSearchParams`. Signed-off-by: Shawn Wang <[email protected]> * sparse: override CheckAndAdjust for inverted_index_algo config Signed-off-by: Shawn Wang <[email protected]> --------- Signed-off-by: Shawn Wang <[email protected]>
- Loading branch information
Showing
5 changed files
with
143 additions
and
98 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
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
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
Oops, something went wrong.