On Freitag, 4. Januar 2008, Marjan Celikik wrote: > I am a new Lucene user and I would like to know the following. How does > Lucene bring together fuzzy queries and highlighting?
You need to call rewrite() on the fuzzy query. This will expand the fuzzy query to all similar terms (e.g. belies~ -> belief OR believe). Highlighting then doesn't work different than for non-fuzzy queries. Regards Daniel -- http://www.danielnaber.de --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]