The default query parser in Solr is the "lucene" one. q=term~ But there is nothing that automatically makes terms fuzzy with the ~ at the end. (and fuzzy queries only work on individual terms, not terms inside "of phrases").
Erik On Nov 24, 2011, at 03:08 , meghana wrote: > okey, i am not very much aware of it , can i use lucene query parser with > solr and make this fuzzy search possible? > > Erik Hatcher-4 wrote >> >> Sure... if you're using the "lucene" query parser and put a ~ after every >> term in the query :) >> >> But that would mean that either the users or your application do this. >> >> Erik >> >> On Nov 23, 2011, at 09:03 , meghana wrote: >> >>> Hi Erik, >>> >>> Thanks for your reply. i come to know that Lucene provides the fuzzy >>> search by applying tilde("~") symbol at the end of search with like >>> delll~0.8 >>> >>> can we apply such fuzzy logic in solr in any way? >>> >>> Thanks >>> Meghana >>> Erik Hatcher-4 wrote >>>> >>>> Meghana - >>>> >>>> There's currently no facility in Solr to return results for suggestions >>>> automatically. You'll have to code this into your client to make >>>> another >>>> request to Solr for the suggestions returned from the first request. >>>> >>>> Erik >>>> >>>> On Nov 23, 2011, at 07:58 , meghana wrote: >>>> >>>>> Hi, >>>>> >>>>> I have configured spellchecker component in my solr. it works with >>>>> custom >>>>> request handler (however its not working with standard request handler >>>>> , >>>>> but >>>>> this is not concern at now) . but its returning suggestions for the >>>>> matching >>>>> spells, instead of it we want that we can directly get result for >>>>> relative >>>>> spells of misspelled search term. >>>>> >>>>> Can we do this. >>>>> Any help much appreciated. >>>>> Meghana >>>>> >>>>> >>>>> -- >>>>> View this message in context: >>>>> http://lucene.472066.n3.nabble.com/need-a-way-so-that-solr-return-result-for-misspelled-terms-tp3530584p3530584.html >>>>> Sent from the Solr - User mailing list archive at Nabble.com. >>>> >>> >>> >>> -- >>> View this message in context: >>> http://lucene.472066.n3.nabble.com/need-a-way-so-that-solr-return-result-for-misspelled-terms-tp3530584p3530769.html >>> Sent from the Solr - User mailing list archive at Nabble.com. >> > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/need-a-way-so-that-solr-return-result-for-misspelled-terms-tp3530584p3533046.html > Sent from the Solr - User mailing list archive at Nabble.com.