Skip to content

Conversation

benchaplin
Copy link
Contributor

INDEX_REFRESH_BLOCK: a cluster block added to newly created indices with replicas in serverless, and removed once at least one search shard is started.

Since #129132, we began skipping indices with INDEX_REFRESH_BLOCK during searches.

We should do the same in field caps, which will allow us to skip these indices in ESQL queries as ESQL uses field caps to resolve indices (ITs for field caps and ESQL are in the linked PR - INDEX_REFRESH_BLOCK can only be ITed in serverless).

@benchaplin benchaplin added >non-issue Team:Search Foundations Meta label for the Search Foundations team in Elasticsearch :Search Foundations/Search Catch all for Search Foundations v9.2.0 labels Jul 31, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-search-foundations (Team:Search Foundations)

@elasticsearchmachine elasticsearchmachine added the serverless-linked Added by automation, don't add manually label Jul 31, 2025
@benchaplin benchaplin closed this Jul 31, 2025
@benchaplin
Copy link
Contributor Author

(For future readers: I came to the realization it's probably more appropriate for ESQL to do this filtering post field caps call.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

>non-issue :Search Foundations/Search Catch all for Search Foundations serverless-linked Added by automation, don't add manually Team:Search Foundations Meta label for the Search Foundations team in Elasticsearch v9.2.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants