Which version of Solr (Lucene) are you using? Recent versions of Lucene now accept ~N > 1 to be edit distance. Ie foobar~2 matches any term that's <= 2 edit distance away from foobar.
Mike McCandless http://blog.mikemccandless.com On Tue, Jun 28, 2011 at 11:00 PM, entdeveloper <cameron.develo...@gmail.com> wrote: > According to the docs on lucene query syntax: > > "Starting with Lucene 1.9 an additional (optional) parameter can specify the > required similarity. The value is between 0 and 1, with a value closer to 1 > only terms with a higher similarity will be matched." > > I was messing around with this and started doing queries with values greater > than 1 and it seemed to be doing something. However I haven't been able to > find any documentation on this. > > What happens when specifying a fuzzy query with a value > 1? > > "tiger"~2 > "animal"~3 > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Fuzzy-Query-Param-tp3120235p3120235.html > Sent from the Solr - User mailing list archive at Nabble.com. >