Repository navigation
Add simple-hybrid-text example (dense + BM25 text field) - #190
Merged
Merged
Conversation
Same shape as simple-hybrid, but the sparse vector is replaced by a zipf-distributed text payload field indexed with `scoring: bm25`, and `memory:` is used instead of `on_disk` / `always_ram`. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
examples/simple-hybrid-text.yaml, a variant ofsimple-hybridwhere the sparsebm25vector is replaced by a text payload field with a BM25-scored full-text index (scoring: bm25, Qdrant 1.19.3+).textfield:wordtokenizer, zipf over a 100k vocabulary, 100 words per point (mirrors the old sparse source)memory:(cold/pinned) instead ofon_disk/always_ramEXAMPLESassimple-hybrid-textQuery it with
kind: text,using: textrequests (seesearch-bm25-text).🤖 Generated with Claude Code