Skip to content

Search: add DOCUMENTATION_ELASTIC_INDEX_OVERRIDE env var#2872

Open
reakaleek wants to merge 1 commit intomainfrom
feat/documentation-elastic-index-override
Open

Search: add DOCUMENTATION_ELASTIC_INDEX_OVERRIDE env var#2872
reakaleek wants to merge 1 commit intomainfrom
feat/documentation-elastic-index-override

Conversation

@reakaleek
Copy link
Member

What

  • Add DOCUMENTATION_ELASTIC_INDEX_OVERRIDE environment variable to override the search index used by the API and MCP server
  • Support comma-separated values for searching across multiple indices (e.g. for testing)

Why

  • Enables testing against different indices without changing DOCS_BUILD_TYPE or ENVIRONMENT
  • Allows searching across multiple indices in a single query when needed

Notes

  • When set, the override replaces the computed index derived from BuildType and Environment
  • Elasticsearch natively handles comma-separated index names in search requests

Made with Cursor

…rride

Allow overriding the search index via env var. Supports comma-separated
values for multiple indices (e.g. testing across two indices).

Made-with: Cursor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant