Class IndexResolver
java.lang.Object
org.elasticsearch.xpack.esql.session.IndexResolver
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordInformation for resolving a field. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic IndexResolutionmergedMappings(String indexPattern, IndexResolver.FieldsInfo fieldsInfo) voidresolveIndices(String indexWildcard, Set<String> fieldNames, QueryBuilder requestFilter, boolean includeAllDimensions, boolean useAggregateMetricDoubleWhenNotSupported, boolean useDenseVectorWhenNotSupported, ActionListener<IndexResolution> listener) Resolves a pattern to one (potentially compound meaning that spawns multiple indices) mapping.voidresolveIndicesVersioned(String indexWildcard, Set<String> fieldNames, QueryBuilder requestFilter, boolean includeAllDimensions, boolean useAggregateMetricDoubleWhenNotSupported, boolean useDenseVectorWhenNotSupported, ActionListener<Versioned<IndexResolution>> listener) Resolves a pattern to one (potentially compound meaning that spawns multiple indices) mapping.
-
Field Details
-
ALL_FIELDS
-
INDEX_METADATA_FIELD
-
UNMAPPED
- See Also:
-
FIELD_CAPS_INDICES_OPTIONS
-
-
Constructor Details
-
IndexResolver
-
-
Method Details
-
resolveIndices
public void resolveIndices(String indexWildcard, Set<String> fieldNames, QueryBuilder requestFilter, boolean includeAllDimensions, boolean useAggregateMetricDoubleWhenNotSupported, boolean useDenseVectorWhenNotSupported, ActionListener<IndexResolution> listener) Resolves a pattern to one (potentially compound meaning that spawns multiple indices) mapping. -
resolveIndicesVersioned
public void resolveIndicesVersioned(String indexWildcard, Set<String> fieldNames, QueryBuilder requestFilter, boolean includeAllDimensions, boolean useAggregateMetricDoubleWhenNotSupported, boolean useDenseVectorWhenNotSupported, ActionListener<Versioned<IndexResolution>> listener) Resolves a pattern to one (potentially compound meaning that spawns multiple indices) mapping. Also retrieves the minimum transport version available in the cluster (and remotes). -
mergedMappings
public static IndexResolution mergedMappings(String indexPattern, IndexResolver.FieldsInfo fieldsInfo)
-