Lowercase normalizer is used for wildcard queries #28894
Labels
>bug
:Search/Search
Search-related issues that do not fall into other categories
Team:Search
Meta label for search team
Elasticsearch version (
bin/elasticsearch --version
): 6.2.2Description of the problem including expected versus actual behavior:
Say you index a field
Aa
as atext
field with a Lowercase analyzer.When you search for
aa*
, it matches. Searching forAa*
does not match which is normal as the wildcard queries are not analyzed.Say you index a field
Aa
as akeyword
field with a Lowercase normalizer.When you search for
aa*
, it matches. Searching forAa*
matches as well although the wildcard queries are not analyzed.Steps to reproduce:
I spoke with @jpountz who thinks it might be related to https://issues.apache.org/jira/browse/LUCENE-8186
Opening the issue so we can track it.
The text was updated successfully, but these errors were encountered: