> I'm trying to create a phrase query with wildcard, from the > forums it seems that the solution is not trivial. > I'm trying to create the following queries: "this is a > phrase*" OR "*This is a phrase" and > Get hits on every possibility where the * resides. > What is the best way to achieve this?
Some pointers: https://issues.apache.org/jira/browse/LUCENE-1486 http://lucene.apache.org/core/3_6_1/api/all/org/apache/lucene/queryParser/complexPhrase/ComplexPhraseQueryParser.html http://wiki.apache.org/lucene-java/LuceneFAQ#Can_I_combine_wildcard_and_phrase_search.2C_e.g._.22foo_ba.2A.22.3F --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org