-
Notifications
You must be signed in to change notification settings - Fork 25.8k
Lowercase normalizer is used for wildcard queries #28894
Copy link
Copy link
Open
Labels
:Search Relevance/SearchCatch all for Search RelevanceCatch all for Search Relevance>bugTeam:Search RelevanceMeta label for the Search Relevance team in ElasticsearchMeta label for the Search Relevance team in Elasticsearchpriority:normalA label for assessing bug priority to be used by ES engineersA label for assessing bug priority to be used by ES engineers
Metadata
Metadata
Assignees
Labels
:Search Relevance/SearchCatch all for Search RelevanceCatch all for Search Relevance>bugTeam:Search RelevanceMeta label for the Search Relevance team in ElasticsearchMeta label for the Search Relevance team in Elasticsearchpriority:normalA label for assessing bug priority to be used by ES engineersA label for assessing bug priority to be used by ES engineers
Type
Fields
Give feedbackNo fields configured for issues without a type.
Elasticsearch version (
bin/elasticsearch --version): 6.2.2Description of the problem including expected versus actual behavior:
Say you index a field
Aaas atextfield 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
Aaas akeywordfield 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.