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: partial word searching
Date Wed, 21 Apr 2010 07:48:37 GMT
> I'm quite new to solr 1.4. I have a requirement to be able
> to search partial
> words ("sun hot" => "Sunway Hotel") and to search full
> word("sunway hotel"
> => "Sunway Hotel"). Currently, I could be able to search
> only full word.
> Anyone has any suggestions?


Looks like a PrefixQuery. sun* hot* will retrieve documents containing Sunway Hotel. 

http://lucene.apache.org/java/2_9_1/queryparsersyntax.html#Wildcard+Searches


      

Mime
View raw message