You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by newbieoflucene <sh...@hotmail.com> on 2007/09/06 15:52:15 UTC

highlight only some terms from query string?

When user inputs some terms to query by lucene, I want to only high light
some terms in some fields I specified. Is it possible?

For example:
The record has 3 fields: Name, Title, Desc.
and user search terms are: willas, SE, self des.
how can I set only the terms [willas] and [SE] high lighted in [Name] and
[Title] fields?
-- 
View this message in context: http://www.nabble.com/highlight-only-some-terms-from-query-string--tf4392290.html#a12522976
Sent from the Lucene - Java Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org