enhance hybrid_search interface#63
Merged
Merged
Conversation
Member
|
Hello,seems like this refactor of hybrid_search() interface will change how it's used compared to before. |
Contributor
Author
These enhancements do not affect the existing hybrid search interface; they offer a more simplified and user-friendly method. |
This was referenced Jan 28, 2026
hnwyllmm
added a commit
that referenced
this pull request
Jan 28, 2026
## Summary close #150 rollback enhanced hybrid search which committed by #63 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Refactor** * Removed the fluent hybrid-search builder; hybrid_search now accepts dictionary-style parameters only. * Removed per-route boost parameters and builder precedence from hybrid search inputs. * **Documentation** * Examples and docs updated to show direct dict-based hybrid_search usage; builder-specific content removed. * **Tests** * Builder-focused integration tests removed; remaining tests updated to use dict-style calls.
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.
Summary
Added HybridSearch fluent builder with DSL helpers (DOCUMENT.contains/not_contains, K().is_in/not_in, TEXT/EMBEDDINGS) plus chaining of .query()/.knn()/.rank()/.limit()/.select(), exposed in init, documented in README, example, and integration tests.
hybrid_search() now accepts per-route boost, with collection forwarding updated.
Document filters support $not_contains.
Metadata filters support $in / $nin (mirrored by K().is_in/not_in), with tests expanded.