viliam-durina opened a new issue, #14440: URL: https://github.com/apache/lucene/issues/14440
### 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 _No response_ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org