Simple query text field with spaces and * issues after upgrade #31150
Labels
:Search Relevance/Analysis
How text is split into tokens
Team:Search Relevance
Meta label for the Search Relevance team in Elasticsearch
Elasticsearch version (
bin/elasticsearch --version
): 6.2.4Plugins installed: []
JVM version (
java -version
): 1.8.0_171OS version (
uname -a
if on a Unix-like system): Windows sever 2012 R2Description of the problem including expected versus actual behavior:
The simple query string command does not return expected results when the query contains a space and a wildcard e.g ( "Test *"). The same query format works in version 5.6.8 and was noticed after an upgrade.
Steps to reproduce:
Here are the steps (using Kibana) to set up an index to reproduce the issue
The query "Test*" returns the document as expected. However "Test *" does not work in version 6.2.4. In version 5.6.8, both queries return results as expected using the same standard analyzer for the field.
Expected 1 hit, actually received 0 hits.
Was there an intentional change made that would impact this query in version 6.X?
The text was updated successfully, but these errors were encountered: