mirror of
https://github.com/qdrant/qdrant.git
synced 2026-08-05 09:31:05 -05:00
Adds \`fill_idf_statistics\` to the \`VectorIndexRead\` trait with a no-op default (only sparse-vector indexes track IDF). \`VectorIndexEnum\` overrides it with the per-variant dispatch that previously lived as an inherent method. The inherent \`indexed_vectors\` is removed: it returned the same value as the trait method \`indexed_vector_count\` for every variant (sparse's \`indexed_vector_count\` is itself \`inverted_index.vector_count()\`). The remaining caller in \`fill_query_context\` will use \`indexed_vector_count\` after the next commit moves it to the view. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>