Erik,
What do you mean by _rewriting_ the query? I checked all the classes in the highlighter package
and did not see any mention of having to rewrite.
Sorry for the highjacking, didn't mean to be a terrorist :)
- Dmitry
________________________________
From: Erik Hatcher [mailto:erik@ehatchersolutions.com]
Sent: Tue 12/27/2005 11:03 AM
To: java-user@lucene.apache.org
Subject: Re: Wildcard and Fuzzy queries - no best fragments generated - ??
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: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org
|