-
Notifications
You must be signed in to change notification settings - Fork 25.8k
Open
Labels
:Analytics/ES|QLAKA ESQLAKA ESQL:Distributed/Ingest NodeExecution or management of Ingest PipelinesExecution or management of Ingest Pipelines>bugTeam:AnalyticsMeta label for analytical engine team (ESQL/Aggs/Geo)Meta label for analytical engine team (ESQL/Aggs/Geo)Team:DistributedMeta label for distributed team.Meta label for distributed team.
Description
Enrich now generates a mapping for the enrich index as of 8.9.0 to enable its usage in ES|QL. This process is a simple copy of the mapping type and format, optionally setting index to true if it is supported. Unfortunately, this copying process does not bring along any required configuration values from the mapping's definition.
Lines 387 to 397 in 20e186a
| if (typeAndFormat != null) { | |
| Map<String, Object> mapping = Maps.newMapWithExpectedSize(3); | |
| mapping.put("type", typeAndFormat.type); | |
| if (typeAndFormat.format != null) { | |
| mapping.put("format", typeAndFormat.format); | |
| } | |
| if (isIndexableField(mapperService, enrichField, typeAndFormat.type, mapping)) { | |
| mapping.put("index", false); | |
| } | |
| fieldMappings.put(enrichField, mapping); | |
| } |
This means that a number of mapping types are not able to be included in Enrich:
aggregate_metric_double- Requires
metricsanddefault_metric
- Requires
alias- Requires
path
- Requires
scaled_float- Requires
scaling_factor
- Requires
passthrough- Requires
priority
- Requires
semantic_text- Requires
inference_id
- Requires
token_count- Requires
analyzer
- Requires
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
:Analytics/ES|QLAKA ESQLAKA ESQL:Distributed/Ingest NodeExecution or management of Ingest PipelinesExecution or management of Ingest Pipelines>bugTeam:AnalyticsMeta label for analytical engine team (ESQL/Aggs/Geo)Meta label for analytical engine team (ESQL/Aggs/Geo)Team:DistributedMeta label for distributed team.Meta label for distributed team.