Skip to content

feat: Elasticsearch Serverless support and v9.3.0 release#389

Merged
siddharthlatest merged 2 commits into
devfrom
dev-9.3.0
Jun 11, 2026
Merged

feat: Elasticsearch Serverless support and v9.3.0 release#389
siddharthlatest merged 2 commits into
devfrom
dev-9.3.0

Conversation

@siddharthlatest

Copy link
Copy Markdown
Member

What does this do / why do we need it?

This PR adds Elasticsearch Serverless support and bumps the release to v9.3.0.

Elasticsearch Serverless support

ReactiveSearch API can now run against Elasticsearch Serverless clusters. Serverless rejects user-created hidden (dot-prefixed) indices, so meta indices (.pipelines, .analytics, etc.) are automatically remapped to rs_* names when a Serverless cluster is detected via build_flavor.

Other Serverless-specific behavior:

  • ES_API_KEY upstream auth — authenticate to Elasticsearch using an API key instead of basic auth.
  • Index creation — strip index settings that Serverless does not support.
  • Index size — use _cat/indices where _stats is unavailable.
  • RS_META_INDEX_PREFIX — optional override for the remapped meta index prefix.

v9.3.0 version bump

Updates DEFAULT_VERSION / Docker VERSION from 9.2.0 to 9.3.0.

What should your reviewer look out for in this PR?

  • Serverless detectionutil/meta_index.go logic for build_flavor and RS_META_INDEX_PREFIX override; confirm dot-prefixed indices map correctly on Serverless but remain unchanged on standard ES.
  • Upstream authES_API_KEY in util/esauth.go; verify it coexists with existing basic-auth (ES_USERNAME / ES_PASSWORD) and that clusters without API key auth are unaffected.
  • DAO changes — plugin dao.go files now use util.MetaIndexName() / util.ESAuthHeader(); spot-check a few plugins (pipelines, analytics, auth, suggestions).
  • Reindex pathmodel/reindex/ changes for Serverless (_cat/indices fallback, stripped index settings).
  • Dockerfile — builder image bumped to golang:1.26.4.
  • VersionMakefile and Dockerfile both set to 9.3.0.

Which issue(s) does this PR fix?

N/A

If this PR affects any API reference documentation, please share the updated endpoint references

No REST endpoint changes. Environment variable docs were updated in docs/env-vars.md (ES_API_KEY, RS_META_INDEX_PREFIX).

siddharthlatest and others added 2 commits June 11, 2026 22:31
…ey auth

Detect serverless clusters via build_flavor and remap dot-prefixed meta
indices to rs_* names, since Serverless rejects user-created hidden indices.
Add ES_API_KEY upstream auth, strip unsupported index settings on create,
and use _cat/indices for index size where _stats is unavailable.

Co-authored-by: Cursor <cursoragent@cursor.com>
@github-actions

Copy link
Copy Markdown
Contributor

Seems you are using me but didn't get OPENAI_API_KEY seted in Variables/Secrets for this repo. you could follow readme for more information

@siddharthlatest siddharthlatest merged commit f4cd08f into dev Jun 11, 2026
7 checks passed
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