rollback enhanced hybrid search#151
Conversation
📝 WalkthroughWalkthroughRemoved the HybridSearch fluent builder and its module, deleted builder-specific tests and examples, and updated collection.hybrid_search to accept only dict-based parameters; also removed related exported constants and types from package entry points. Changes
Sequence Diagram(s)(omitted) Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 0
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (1)
src/pyseekdb/client/collection.py (1)
503-520: Docstring example still references removedboostparameter.The example in the docstring still shows
"boost": 0.5in the query dict (line 510-511), but the boost parameter was part of the enhanced hybrid search that is being rolled back. The README documentation correctly omits boost from examples.📝 Suggested fix to remove boost from docstring example
Examples: # Hybrid search with both full-text and vector search results = collection.hybrid_search( query={ "where_document": {"$contains": "machine learning"}, "where": {"category": {"$eq": "science"}}, - "n_results": 10, - "boost": 0.5 + "n_results": 10 }, knn={ "query_texts": ["AI research"], "where": {"year": {"$gte": 2020}}, "n_results": 10 },
Summary
close #150
rollback enhanced hybrid search which committed by #63
Summary by CodeRabbit
Refactor
Documentation
Tests
✏️ Tip: You can customize this high-level summary in your review settings.