Skip to content

fix: add OpenSearch/Elasticsearch 7+ compatibility - #4

Merged
r4770 merged 1 commit into
masterfrom
opensearch-compatibility
Jan 7, 2026
Merged

fix: add OpenSearch/Elasticsearch 7+ compatibility#4
r4770 merged 1 commit into
masterfrom
opensearch-compatibility

Conversation

@r4770

@r4770 r4770 commented Jan 7, 2026

Copy link
Copy Markdown

Adds compatibility with OpenSearch and ES 7+. See omc#54 for details.

Remove deprecated type-based mappings and bulk endpoint format.

- Remove type wrapper from mappings (was: {"mappings": {"_doc": {...}}})
  Now uses flat structure: {"mappings": {...}}
- Remove type from bulk endpoint (was: /{index}/_doc/_bulk)
  Now uses: /{index}/_bulk

These changes maintain backward compatibility with Elasticsearch 7+
while adding support for OpenSearch.
@r4770
r4770 merged commit 6091ea9 into master Jan 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant