:   I did like this:
:   - for each term to find, build a FuzzyQuery object like this:
:        fq = new FuzzyQuery(new Term("contents", queryString), minSimilarity) 
:   - as the FuzzyQuery.getEnum() method is protected - and my program is
:      in another package, I added a getEnumWrapper() method to the FuzzyQuery
:      class. It does the same as getEnum() - returns a FilteredTermEnum
: collection
:      but it's public.
:   - finally, the program iterates through all the items returned by
: getEnumWrapper()
:      displaying the best matches.

it sounds like you aren't executing the FuzzyQuery at all ... just 
enumerating over theterms, correct?

Do you really need the FuzzyQuery object at all? 
why not just construct a FuzzyTermEnum directly? (it's a public class).


BTW...
   http://people.apache.org/~hossman/#java-dev
Please Use "[EMAIL PROTECTED]" Not "[EMAIL PROTECTED]"

Your question is better suited for the [EMAIL PROTECTED] mailing list ...
not the [EMAIL PROTECTED] list.  java-dev is for discussing development of
the internals of the Lucene Java library ... it is *not* the appropriate
place to ask questions about how to use the Lucene Java library when
developing your own applications. 



-Hoss


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to