mirror of
https://github.com/qdrant/qdrant.git
synced 2026-08-05 17:40:55 -05:00
* 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>