Add parameters of aws opensearch, support hnsw engine options, support multi-client load data#527
Conversation
…dexConfig index_thread_qty_during_force_merge
…eters of hnsw engine and metric-type.
…eters of hnsw engine and metric-type.
…eters of hnsw engine and metric-type.
|
@norrishuang Thank you very much for your so detailed PR. I believe it will help the community test |
|
@norrishuang similar PR: https://github.com/zilliztech/VectorDBBench/pull/529/files with fixes and removal nmslib engine since it is deprecated. |
| log.info( | ||
| "Using innerproduct because faiss doesn't support cosine as metric type for Opensearch", | ||
| ) | ||
| log.info("Using innerproduct because faiss doesn't support cosine as metric type for Opensearch") |
There was a problem hiding this comment.
cosine is supported with 2.19 and above version of Opensearch with faiss. I think this check can be removed
| engine: AWSOS_Engine = AWSOS_Engine.faiss | ||
| efConstruction: int = 256 | ||
| efSearch: int = 256 | ||
| ef_search: int = 200 |
There was a problem hiding this comment.
How about removing one of efSearch or ef_search?
There was a problem hiding this comment.
removed efSearch in commit recover some code format
|
@norrishuang There is an issue with the format. pip install ruff --upgrade
pip install black --upgrade
make format
make lint |
|
fixed format issue. recover some code format |
|
@norrishuang some little conflicts with pr: #529 , could you please help resolve it~ |
The conflicts was resolved. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: alwayslove2013, norrishuang The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
@norrishuang still seems to conflict with |
compare the code of conflicts, there are some code format issues, it's resolved. |
…t multi-client load data (zilliztech#527) * fix error of OpenSearch frontend:Validation error for AWSOpenSearchIndexConfig index_thread_qty_during_force_merge * add parameters of aws opensearch in frontend. * fiexd issue of opensearch ui and add multi-client indexing, add parameters of hnsw engine and metric-type. * fiexd issue of opensearch ui and add multi-client indexing, add parameters of hnsw engine and metric-type. * fiexd issue of opensearch ui and add multi-client indexing, add parameters of hnsw engine and metric-type. * clean logs * clean comments * clean logs * clean comments * fixed some issue, add warmup before search test only. * fixed some issue of create index and mulit-client * support faiss fp16 * clear comment * recover some code format * recover some code format * recover some code format * recover some code format * recover some code format * resolved conflict with pr: zilliztech#529
command example
and from UI
result log
result_20250521_ef-search-100_opensearch.json