ReadonlynameThe name of the store (e.g. 'mongodb', 'redis', 'dynamodb')
ReadonlylibraryThe client library being used
Returns the underlying @opensearch-project/opensearch client for anything not wrapped here.
Create an index, optionally with a body (mappings/settings/aliases).
Optionalbody: Record<string, unknown>Delete an index.
Whether an index exists.
Get a document's _source by ID.
Run a Query-DSL search and return the hits object from the response.
Delete a document by ID.
Run a batch of operations (already in the driver's NDJSON action/source
array form) in a single request. The real _bulk API rejects an empty
request body outright, so short-circuit zero operations to a trivial
no-op result rather than surfacing that as an error.
OpenSearchStorewraps the official@opensearch-project/opensearchclient and exposes index management, document CRUD (single + bulk), and Query-DSL search as a typed, promise-based API.