lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From newbieoflucene <shanghai2...@hotmail.com>
Subject highlight only some terms from query string?
Date Thu, 06 Sep 2007 13:52:15 GMT

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


Mime
View raw message