deepset-ai / haystack-experimental

🧪 Experimental features for Haystack
https://haystack.deepset.ai
Apache License 2.0
23 stars 9 forks source link

feat: Add support for async in `DocumentStore` #96

Closed shadeMe closed 1 month ago

shadeMe commented 1 month ago

Related Issues

Proposed Changes:

This PR adds async variants of methods in the DocumentStore protocol and implements them for the OpenSearchDocumentStore.

How did you test it?

Integration tests

Notes for the reviewer

This new tests added in this PR require a running OpenSearch backend. This is currently not set-up in the CI, so you'll need to test it locally (refer to the testing instructions in the OpenSearch integration's readMe).

Also, the tests require haystack@main until 2.6.0's release.

Checklist