lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From newbieoflucene <>
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:
Sent from the Lucene - Java Users mailing list archive at

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

View raw message