Re: partial word searching

2010-04-21 Thread Alejandro Marqués Rodríguez
Hi, You can use wildcards but I suppose it would only work with one word (though maybe if you use tokenization you could use something like "field:sun* AND field:hot*") You could also use N-grams to achieve partial searchs. For example, if you use 3-grams for "hotel" you'll index "hot", "ote" and

Re: partial word searching

2010-04-21 Thread Ahmet Arslan
> 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*