Skip to content

refactor: api elasticsearch to opensearch#5036

Draft
brunozoric wants to merge 24 commits intonextfrom
bruno/refactor/api-elasticsearch/opensearch
Draft

refactor: api elasticsearch to opensearch#5036
brunozoric wants to merge 24 commits intonextfrom
bruno/refactor/api-elasticsearch/opensearch

Conversation

@brunozoric
Copy link
Contributor

Changes

Changed api-elasticsearch to api-opensearch. Underlying package is now OpenSearch official one - latest.

How Has This Been Tested?

Jest and manually.

brunozoric and others added 17 commits March 21, 2026 10:57
Add src/client.ts with AwsSigv4Signer-based OpenSearch client factory,
and src/types.ts with native opensearch types replacing elastic-ts.
Also add tsconfig.build.json, webiny.config.js and .babelrc.js required
for the build toolchain.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
Port sort, where, operators, indices, limit, cursors, compression, sharedIndex, indexPrefix, and indexConfiguration from api-elasticsearch with Elasticsearch -> OpenSearch renames.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
Port all 22 test files from packages/api-elasticsearch/__tests__/ to
packages/api-opensearch/__tests__/, replacing all Elasticsearch-prefixed
type and class names with OpenSearch equivalents. Add a self-contained
createOpenSearchClient test helper (mirrors project-utils elasticsearch
client helper) and copy the vitest.config.ts from api-elasticsearch.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
@brunozoric brunozoric force-pushed the bruno/refactor/api-elasticsearch/opensearch branch from 6a63c69 to e49979f Compare March 21, 2026 10:00
@Pavel910 Pavel910 added this to the 6.0.0 milestone Mar 21, 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.

2 participants