Add selector syntax to index expressions (#118614)

This PR introduces a new syntactical feature to index expression resolution: The selector.

Selectors, denoted with a :: followed by a recognized suffix will allow users to specify which component of 
an index abstraction they would like to operate on within an API call. In this case, an index abstraction is a 
concrete index, data stream, or alias; Any abstraction that can be resolved to a set of indices/shards. We 
define a component of an index abstraction to be some searchable unit of the index abstraction.
This commit is contained in:
James Baiera 2025-01-08 11:37:03 -05:00 committed by GitHub
parent 82b1f2a205
commit c3839e1f76
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
73 changed files with 2377 additions and 1073 deletions

View file

@ -82,7 +82,7 @@ public class AnalyticsCollectionResolver {
// Listing data streams that are matching the analytics collection pattern.
List<String> dataStreams = indexNameExpressionResolver.dataStreamNames(
state,
IndicesOptions.lenientExpandOpen(),
IndicesOptions.lenientExpandOpenNoSelectors(),
EVENT_DATA_STREAM_INDEX_PATTERN
);