> I need to perform wildcard search in phrase query. I have 2 > documents > containing text "how do impair" and "how to improve". I > want to be able to > search both documents by searching (how to im*). There is a > provision in > lucene which allows me to perform this operation using > SpanWildcardQuery and > keeping span length to 0. > > http://mail-archives.apache.org/mod_mbox//lucene-java-user/200707.mbox/%3c469df09f.9030...@gmail.com%3e > > > I tried proximity search in solr but it didn't work with > wildcard. Is there > any other provision to perform wildcard search in phrase > query?
With https://issues.apache.org/jira/browse/SOLR-1604 you can use * operator inside phrases, e.g. "how to im*"