lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Storey, Jeff" <>
Subject RE: Q: Highlighter + Search symbols "*, ?, ~"
Date Mon, 20 Nov 2006 13:33:59 GMT
Could you explain what you did for your solution?  This is a problem I'm currently facing
as well. But, for example, if the user searches for "head~" would you also be able to highlight
"read" and "dead" if they are returned or just "head" without the ~.


From: Stephan Spat []
Sent: Mon 11/20/2006 3:41 AM
Subject: Re: Q: Highlighter + Search symbols "*, ?, ~"

Stephan Spat schrieb:
> I would like to highlight the searching words from the user query in
> my result presentation. Therfore I use the highlighter package. I used
> to example published in "Lucene in Action" to do so! When I use
> bollean operators there is no problem, but with operators like "?",
> "*", ... the words cannot be found anymore.
> Is it possible to highlight text (word) fregments (without extension
> of th package) when I use ?, *, ... operators? And when it is
> possible, how?
I have already found a solution: Have to rewrite the query!!

with kind regards


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message