Skip to content

Add simple-hybrid-text example (dense + BM25 text field) - #190

Merged
generall merged 1 commit into
devfrom
simple-hybrid-text
Oct 19, 2026
Merged

generall merged 1 commit into
devfrom
simple-hybrid-text

Conversation

@generall

Copy link
Copy Markdown
Member

Adds examples/simple-hybrid-text.yaml, a variant of simple-hybrid where the sparse bm25 vector is replaced by a text payload field with a BM25-scored full-text index (scoring: bm25, Qdrant 1.19.3+).

  • text field: word tokenizer, zipf over a 100k vocabulary, 100 words per point (mirrors the old sparse source)
  • uses memory: (cold / pinned) instead of on_disk / always_ram
  • registered in EXAMPLES as simple-hybrid-text
bfb upload --example simple-hybrid-text -n 1M -b 256 -p 16 -t 8 --uri http://localhost:6334

Query it with kind: text, using: text requests (see search-bm25-text).

🤖 Generated with Claude Code

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>
@generall
generall merged commit 820eaf9 into dev Oct 19, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant