Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion vectordb_bench/backend/clients/milvus/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -417,6 +417,7 @@ def search_param(self) -> dict:
class SCANNConfig(MilvusIndexConfig, DBCaseConfig):
nlist: int = 1024
with_raw_data: bool = False
nprobe: int = 64
reorder_k: int | None = 100
index: IndexType = IndexType.SCANN_MILVUS

Expand All @@ -433,7 +434,10 @@ def index_param(self) -> dict:
def search_param(self) -> dict:
return {
"metric_type": self.parse_metric(),
"params": {"reorder_k": self.reorder_k},
"params": {
"nprobe": self.nprobe,
"reorder_k": self.reorder_k,
},
}


Expand Down
1 change: 1 addition & 0 deletions vectordb_bench/frontend/config/dbCaseConfigs.py
Original file line number Diff line number Diff line change
Expand Up @@ -1056,6 +1056,7 @@ class CaseConfigInput(BaseModel):
IndexType.IVFPQ.value,
IndexType.IVFSQ8.value,
IndexType.IVF_RABITQ.value,
IndexType.SCANN_MILVUS.value,
IndexType.GPU_IVF_FLAT.value,
IndexType.GPU_IVF_PQ.value,
IndexType.GPU_BRUTE_FORCE.value,
Expand Down