Hello,
We are re currently migrating from 2.4.1 to 2.9.0. We've noticed some
changes in the results of fuzzy queries.
We have made this small test case :
StandardAnalyzer analyzer = new StandardAnalyzer();
Directory index = new RAMDirectory();
IndexWriter w = new IndexWriter(index, ana
Thanks,
Even if you add to the example a document called "giga", I'm not sure that
searching "giga~0.8" would return anything.
It seems a bit weird because an exact search (which I guess should be more
or less equivalent to a fuzzy search with nearly ~1 similarity) would
actually return some re
Apologies, my previous message crossed yours.
Good to hear that it's not intended behavior, I was worried.
thanks for the fix!
Kind regards
stefcl wrote:
>
> Thanks,
> Even if you add to the example a document called "giga", I'm not sure that
> searching
Hello,
I'm using Lucene v3.
Please consider the following spellings
Lucene
Lucéne
lucéne
Lucane
Lucen
When searching for "lucéne" among those words using a FuzzyQuery (with 0.5
edit distance), results show :
1. Lucene 1.0259752
2. Lucane 1.0259752
3. Lucéne 0.95660806
4. lucéne 0.95660806
5.
arguably a bug.
> See http://issues.apache.org/jira/browse/LUCENE-329 which discusses this.
> You could try subclass QueryParser and override newFuzzyQuery to return
> FuzzyLikeThisQuery (found in "contrib/queries")
>
> Cheers
> Mark
>
>
>
> - Original Message
-Meier-Allee 63, D-28213 Bremen
> http://www.thetaphi.de
> eMail: u...@thetaphi.de
>
>
>> -Original Message-
>> From: stefcl [mailto:stefatw...@gmail.com]
>> Sent: Tuesday, February 16, 2010 10:11 AM
>> To: java-user@lucene.apache.org
>> Subject: Re: Strange