zilliztech / zilliztech/VectorDBBench
opensearch-py client broken in latest release
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1.2k
- Forks
- 438
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 1
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.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate the dependency declaration used to install opensearch-py, then reproduce the ingestion path against AWS OpenSearch 2.19. Confirm that the dependency is constrained to 2.8.0 and that ingestion no longer raises the OpenSearch.bulk positional-argument error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- databases, search
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100