Open
Description
Description
Hi all,
I have tried to parse this query using the classic QueryParser:
String sQuery = ""foo bar*"";
The query was parsed into a PhraseQuery with two terms: "foo" and "bar". That is the wildcard was lost and the query doesn't handle the "bar" term as a prefix.
I think this is an issue: Lucene should either produce an error, if wildcard search isn't supported within phrases, or it should produce a correct query.
Version and environment details
10.1.0