Get field mapping API returns empty response on wildcard-included search_as_you_type field #118636
Labels
>bug
priority:normal
A label for assessing bug priority to be used by ES engineers
:Search Foundations/Mapping
Index mappings, including merging and defining field types
Team:Search Foundations
Meta label for the Search Foundations team in Elasticsearch
Elasticsearch Version
8.16.1
Installed Plugins
analysis-icu, mapper-size
Java Version
OpenJDK Runtime Environment (build 17.0.13+12-LTS)
OS Version
Linux elasticsearch-master-0 5.10.207 #1 SMP PREEMPT Tue Sep 3 18:23:52 UTC 2024 aarch64 GNU/Linux
Problem Description
Get field mapping query with a wildcard field matching any field of type
search_as_you_type
causes server to respond with empty response{}
.Steps to Reproduce
Create index
Query field mapping
Expected behaviour
Step 2 returns:
Actual behaviour
Step 2 returns:
Not only is
field1a
not returned, but neither is any other field matched (E.g.field1b
, or all other fields if using/_mapping/field/*
).Querying non-existing fields return differently
Querying the
search_as_you_type
exactly without wildcard does workLogs (if relevant)
No logs lines are written
The text was updated successfully, but these errors were encountered: