lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Young <bubble...@gmail.com>
Subject Re: Funny results with Fuzzy
Date Tue, 25 Oct 2005 16:25:30 GMT
mark harwood wrote:

>I'd be more inclined to guess that kylie->klyie falls
>below the 0.5f similarity threshold you pass.
>
>Try print out the results of
>fuzzyQuery.rewrite(indexReader).toString();
>
>This will rewrite the fuzzyQuery to a BooleanQuery
>which explicitly lists the TermQuery objects that the
>fuzzyQuery has found potential matches for in your
>index.
>  
>
Hey, thanks for the fuzzyQuery.rewrite tip, I'll try that out to see 
what's going on. Regarding the theory about falling below the 0.5f 
threshold, that's not the case because new FuzzyQuery( new Term( ... ), 
0.5f ) on it's own matches. I'll see what I can find out with your 
rewrite tip though :)

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message