Difference between 2.4.1 and 2.9.0 (possible regression?)

2009-10-16 Thread stefcl
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

Re: Difference between 2.4.1 and 2.9.0 (possible regression?)

2009-10-16 Thread stefcl
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

Re: Difference between 2.4.1 and 2.9.0 (possible regression?)

2009-10-16 Thread stefcl
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

Strange Fuzzyquery results scoring when using a low minimal distance

2010-02-15 Thread stefcl
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.

Re: Strange Fuzzyquery results scoring when using a low minimal distance

2010-02-16 Thread stefcl
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

RE: Strange Fuzzyquery results scoring when using a low minimal distance

2010-02-23 Thread stefcl
-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