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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]