You have to _rewrite_ the Query for this to work. This, I believe, is mentioned in the javadocs.

I think you are hijacking a thread with your recent postings. Please create a new message rather than reply to one and change the subject. Thanks.

        Erik


On Dec 27, 2005, at 1:55 PM, Dmitry Goldenberg wrote:

Hello,

While testing my code that integrates the Highlighter class from org.apache.lucene.search.highlight, I found out that for wildcard and fuzzy queries, it generates no best fragments.

Any particular reason why that is the case? Shouldn't the highlighter be able to work just like with any other query and highlight any matching token sequences? E.g. if I'm searching for lava~, I'd expect it to highlight words like lava, java, etc. This is the whole point of highlighting, is it not?

Thanks,
- Dmitry

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


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

Reply via email to