You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by krish mohan <kr...@gmail.com> on 2016/10/18 06:15:16 UTC

Search optimization - regd

Hi..
I am building a search for my application. For the entered search term
(foo),
1) I look for exact match (foo), if it returns NULL
2) I use fuzzy search (foo~), if it returns NULL
3) I use wildcard (foo*).

Is this an efficient way? Or is there any lucene method to do all these?
Thanks.