Re: Using Highlighter to highlight entire HTML documents?

2005-05-25 Thread Dan Funk
I wrote a very simple sax parser for our xml content - I check for the search tokens (analyzer.tokenStream) in the text and place a span tag around each found token. This process could work well with xhtml as well. In other words, I could never get the highlighter to do what I wanted to

RE: Using Highlighter to highlight entire HTML documents?

2005-05-24 Thread Will Allen
The challenge with this is always not breaking the HTML page itself. -Original Message- From: Fred Toth [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 24, 2005 3:47 PM To: java-user@lucene.apache.org Subject: Using Highlighter to highlight entire HTML documents? Hi, We have a need to

Re: Using Highlighter to highlight entire HTML documents?

2005-05-24 Thread markharw00d
Fred Toth wrote: Hi, We have a need to present HTML documents with all search terms highlighted. Everything I've seen regarding the Highlighter code seems to point to the typical case of extracting relevant fragments from the text for presentation of hit lists. If you dont want to fragment