You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If an asterisk is included in the value of the query field when creating a percolator document with query_string, query_shard_exception (No field mapping can be found for the field with name [{someField}]) is not returned even if there is no mapping of that field. And that field is not searchable.
tokki92
changed the title
[BUG] Error not returned when creating a perfolator document containing a field without mapping
[BUG] Error not returned when creating a percolator document containing a field without mapping
Feb 2, 2024
Describe the bug
If an asterisk is included in the value of the query field when creating a percolator document with query_string, query_shard_exception (No field mapping can be found for the field with name [{someField}]) is not returned even if there is no mapping of that field. And that field is not searchable.
Related component
Indexing
To Reproduce
request
PUT /:index/_doc/:id
then this percolator document is created successfully even if
someField
has no mapping in its index andsomeField
is not searchableExpected behavior
When the request body is(no asterisk)
cluster returns
400 Bad Requeest
response withquery_shard_exception(reason: No field mapping can be found for the field with name [someField])
Additional Details
Plugins
Please list all plugins currently enabled.
Screenshots
If applicable, add screenshots to help explain your problem.
Host/Environment (please complete the following information):
Additional context
Add any other context about the problem here.
index settings
The text was updated successfully, but these errors were encountered: