-
Notifications
You must be signed in to change notification settings - Fork 257
Open
Description
I installed latest version of vectordb-bench to run a benchmark against aws opensearch (version 2.19) and was facing below error when running ingestion:
2025-10-01 23:05:20,618 | WARNING: Failed to insert data: vdb_bench_index error: OpenSearch.bulk() takes 1 positional argument but 2 positional arguments (and 2 keyword-only arguments) were given
While debugging I noticed it was installing latest 3.0.0 version of opensearch-py client which seems to be broken when used against OpenSearch-2.x versions, after pinning the opensearch-py version to 2.8.0 the issue was fixed.
I would recommend to pin the opensearch-py version to 2.8.0 as it is compatible with OS-2x and 3.x versions.
Metadata
Metadata
Assignees
Labels
No labels