-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* introduce QueryContext, which accumulates runtime info needed for executing search * fmt * propagate query context into segment internals * [WIP] prepare idf stats for search query context * Split SparseVector and RemmapedSparseVector to guarantee we will not mix them up on the type level * implement filling of the query context with IDF statistics * implement re-weighting of the sparse query with idf * fmt * update idf param only if explicitly specified (more consistent with diff param update * replace idf bool with modifier enum, improve further extensibility * test and fixes * Update lib/collection/src/operations/types.rs Co-authored-by: Arnaud Gourlay <arnaud.gourlay@gmail.com> * review fixes * fmt --------- Co-authored-by: Arnaud Gourlay <arnaud.gourlay@gmail.com>
- Loading branch information
Showing
48 changed files
with
1,132 additions
and
282 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
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.