Michael Pichler created LUCENE-7437:
---------------------------------------
Summary: QueryParser with wildcard search does not use Analyzer's
tokenizer
Key: LUCENE-7437
URL: https://issues.apache.org/jira/browse/LUCENE-7437
Project: Lucene - Core
Issue Type: Bug
Components: core/queryparser
Affects Versions: 6.2
Reporter: Michael Pichler
Using a tokenizer that splits at underscores (e.g. SimpleAnalyzer) splits
"qwert_asdfghjkl" into two words at the time of indexing.
Searches for "qwert asdf*" or "qwert_asdfghjkl" work as expected.
However, when a query contains wildcards, e.g. "qwert_asdf*" the query parser
does not use the tokenizer of its analyzer to split the words and thus finds no
result.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]