Skip to content

Commit

Permalink
community[patch]: added SCANN index in default search params (#17889)
Browse files Browse the repository at this point in the history
This will enable users to add data in same collection for index type
SCANN for milvus
  • Loading branch information
rgupta2508 committed Feb 21, 2024
1 parent afc1ba0 commit 3acd0c7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libs/community/langchain_community/vectorstores/milvus.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ def __init__(
"RHNSW_PQ": {"metric_type": "L2", "params": {"ef": 10}},
"IVF_HNSW": {"metric_type": "L2", "params": {"nprobe": 10, "ef": 10}},
"ANNOY": {"metric_type": "L2", "params": {"search_k": 10}},
"SCANN": {"metric_type": "L2", "params": {"search_k": 10}},
"AUTOINDEX": {"metric_type": "L2", "params": {}},
}

Expand Down

0 comments on commit 3acd0c7

Please sign in to comment.