lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <e...@ehatchersolutions.com>
Subject Re: Wildcard and Fuzzy queries - no best fragments generated - ??
Date Tue, 27 Dec 2005 19:03:57 GMT
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


Mime
View raw message