On Apr 4, 2006, at 11:23 AM, Fisheye wrote:
Probably, do you know if there is a possibility to get the similar words
generated by the algorithm when doing fuzzy search?

Well, a roundabout way is to simply create a FuzzyQuery, rewrite it, cast it to a BooleanQuery and use the BooleanQuery API to extract the TermQuery objects and the Term within the TermQuery has what you're looking for. That's actually not a bad way to go, but you could also go more low-level and borrow the technique used under FuzzyQuery itself:

<http://svn.apache.org/repos/asf/lucene/java/trunk/src/java/org/ apache/lucene/search/FuzzyTermEnum.java>

Erik


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

Reply via email to