lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "H. H. Bergman" <hen...@pobox.com>
Subject Highlighter and HTML tags
Date Tue, 10 Aug 2004 11:16:43 GMT
Hi,

I'm using lucene 1.4 and the Highlighter package from the sandbox.
When the search results are clicked I want to show the original (HTML)
document with highlighting. It seems to work fine, except for one annoying
detail: It also tries to 'highlight' strings that are part of a tag, such
as the href contents in a link. So the user is sometimes presented with
incorrect HTML.
Is there a way to stop the highlighter from highlighting strings inside
HTML tags?

Thanks,

Hennus Bergman



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


Mime
View raw message