mirror of
https://github.com/qdrant/landing_page.git
synced 2026-10-03 09:58:30 +02:00
Update hybrid-search-fastembed.md (#1721)
* Update hybrid-search-fastembed.md Fix bug add ``` using="dense" and using="sparse" ``` to `search` method in `HybridSearcher` class * Update qdrant-landing/content/documentation/beginner-tutorials/hybrid-search-fastembed.md * Update qdrant-landing/content/documentation/beginner-tutorials/hybrid-search-fastembed.md --------- Co-authored-by: Andrey Vasnetsov <vasnetsov93@gmail.com>
This commit is contained in:
co-authored by
Andrey Vasnetsov
parent
09264f5826
commit
3d9687ba30
@@ -283,10 +283,12 @@ def search(self, text: str):
|
||||
),
|
||||
prefetch=[
|
||||
models.Prefetch(
|
||||
query=models.Document(text=text, model=self.DENSE_MODEL)
|
||||
query=models.Document(text=text, model=self.DENSE_MODEL),
|
||||
using=dense_vector_name,
|
||||
),
|
||||
models.Prefetch(
|
||||
query=models.Document(text=text, model=self.SPARSE_MODEL)
|
||||
query=models.Document(text=text, model=self.SPARSE_MODEL),
|
||||
using=sparse_vector_name,
|
||||
),
|
||||
],
|
||||
query_filter=None, # If you don't want any filters for now
|
||||
|
||||
Reference in New Issue
Block a user