lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ahmet Arslan <iori...@yahoo.com>
Subject Re: Wildcard search in phrase query using spanquery
Date Mon, 19 Apr 2010 14:58:19 GMT
> 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.9030407@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*" 



      

Mime
View raw message