wildcard query should throw a json_parse_exception with error code 400 #117727
Labels
>bug
:Search Foundations/Search
Catch all for Search Foundations
Team:Search Foundations
Meta label for the Search Foundations team in Elasticsearch
Description
The
wildcard
query will throw ajson_parse_exception
with error code 500 when there is a syntax error in the value provided, whileterm
query for example will throw the same exception wrapped in ax_content_parse_exception
but with an error code 400, which I believe is the more correct approach.Query to test:
The text was updated successfully, but these errors were encountered: