lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From okayndc <>
Subject HTML tags and Lucene highlighting
Date Thu, 05 Apr 2012 17:34:10 GMT

I currently use Lucene version 3.0...probably need to upgrade to a more
current version soon.
The problem that I have is when I test search for a an HTML tag (ex.
<strong>), Lucene returns
the highlighted HTML tag ~ which is what I DO NOT want.  Is there a way to
"filter" HTML tags?
I have read up on HTMLStripChar filter (packaged with Solr) and wondered if
this is the way to go?

Any help will be greatly appreciated,

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message