> 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