Skip to content

Commit

Permalink
Release new docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Milvus-doc-bot authored and Milvus-doc-bot committed Oct 9, 2024
1 parent 5b4a8a0 commit 99ce7f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions v2.4.x/site/en/tutorials/hybrid_search_with_milvus.md
Original file line number Diff line number Diff line change
Expand Up @@ -246,11 +246,11 @@ Let's run three different searches with defined functions:

```python
dense_results = dense_search(col, query_embeddings["dense"][0])
sparse_results = sparse_search(col, query_embeddings["sparse"][[0]])
sparse_results = sparse_search(col, query_embeddings["sparse"]._getrow(0))
hybrid_results = hybrid_search(
col,
query_embeddings["dense"][0],
query_embeddings["sparse"][[0]],
query_embeddings["sparse"]._getrow(0),
sparse_weight=0.7,
dense_weight=1.0,
)
Expand Down

0 comments on commit 99ce7f0

Please sign in to comment.