You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Claudio Devecchi <cd...@gmail.com> on 2010/10/14 20:26:15 UTC

Solr Fuzzy

Hi people,

Somebody knows if solr have the fuzzy funcionality?

Tks

-- 
Claudio Devecchi

Re: Solr Fuzzy

Posted by Claudio Devecchi <cd...@gmail.com>.
tks moysidis

On Thu, Oct 14, 2010 at 3:45 PM, Savvas-Andreas Moysidis <
savvas.andreas.moysidis@googlemail.com> wrote:

> Hi,
>
> yes, Solr does support fuzzy queries by using the Levenstein Distance
> algorithm:
> http://en.wikipedia.org/wiki/Damerau%E2%80%93Levenshtein_distance
>
> You can specify a fuzzy query by adding a tilde (~) symbol at the end of
> your query as in title: Solr~
> You can even specify a proximity threshold in order to achieve a less or
> more strict fuzzy match as in title:Solr~0.8 with the threshold being a
> number between 0 and 1, 1 being the most strict..
>
> HTH
>
> On 14 October 2010 19:26, Claudio Devecchi <cd...@gmail.com> wrote:
>
> > Hi people,
> >
> > Somebody knows if solr have the fuzzy funcionality?
> >
> > Tks
> >
> > --
> > Claudio Devecchi
> >
>



-- 
Claudio Devecchi
flickr.com/cdevecchi

Re: Solr Fuzzy

Posted by Savvas-Andreas Moysidis <sa...@googlemail.com>.
Hi,

yes, Solr does support fuzzy queries by using the Levenstein Distance
algorithm: http://en.wikipedia.org/wiki/Damerau%E2%80%93Levenshtein_distance

You can specify a fuzzy query by adding a tilde (~) symbol at the end of
your query as in title: Solr~
You can even specify a proximity threshold in order to achieve a less or
more strict fuzzy match as in title:Solr~0.8 with the threshold being a
number between 0 and 1, 1 being the most strict..

HTH

On 14 October 2010 19:26, Claudio Devecchi <cd...@gmail.com> wrote:

> Hi people,
>
> Somebody knows if solr have the fuzzy funcionality?
>
> Tks
>
> --
> Claudio Devecchi
>