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.