lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Storey, Jeff" <jeff.sto...@dac.us>
Subject RE: Q: Highlighter + Search symbols "*, ?, ~"
Date Mon, 20 Nov 2006 13:33:59 GMT
Stephan,
 
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 ~.
 
Thanks.
Jeff

________________________________

From: Stephan Spat [mailto:stephan.spat@joanneum.at]
Sent: Mon 11/20/2006 3:41 AM
To: java-user@lucene.apache.org
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

Stephan


---------------------------------------------------------------------
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