Re: Fuzzy search and solr 4.0

2011-05-19 Thread Guilherme Aiolfi
You, or any other solr member, knows a good fuzzy string matching library to recommend? On Thu, May 19, 2011 at 9:39 AM, Michael McCandless < luc...@mikemccandless.com> wrote: > Well the good news is FuzzyQuery is indeed much faster in Lucene/Solr > 4.0. > > But the bad news is... FuzzyQuery

Re: Fuzzy search and solr 4.0

2011-05-19 Thread Michael McCandless
Well the good news is FuzzyQuery is indeed much faster in Lucene/Solr 4.0. But the bad news is... FuzzyQuery won't do what you need here. You need some sort of FuzzyPhraseQuery, which is able to replace terms similar to one another (comp/company/corporation) by some metric. I don't know of s

Fuzzy search and solr 4.0

2011-05-18 Thread Guilherme Aiolfi
Hi, I want to do a fuzzy search that compare a phrase to a field in solr. For example: "abc company ltda" will be compared to "abc comp", "abc corporation", "def company ltda", "nothing to match here". The thing is the it has to always returns documents sorted by its score. I've found some good