A couple months ago I was looking to use a library that Mark Harwood wrote called the Lucene Hit Highlighter. His hosting company closed his account so the library wasn’t available at the time (he was kind enough to send me the libary via email), but for anyone who cares, you can visit the Lucene Sandbox and view the CVS repository for it now. Cocooncenter.org has a great article that explains it all as well.
I’m kind of stuck in the same problem as you are — would you happen to have Mark’s contact info now, so that I could get a copy of tha library? I snagged it from CVS but it’s missing the QueryHighlightExtractor class and there seems to be no sign of this class anywhere on the net.
I’m also interested in the Highlight library. If anyone has the complete library please email me at ddbrown123@hotmail.com
Thanks!
I’m badly in need of that Lucene-Highlight API. If any one can help in this it will be useful.
hi iniya,
You can download and compile the highlighter package from the lucene sandbox CVS tree:
http://cvs.apache.org/viewcvs/jakarta-lucene-sandbox/contributions/highlighter/
AJ
Its available from Apache SubVersion:
http://svn.apache.org/repos/asf/lucene/java/trunk/contrib/highlighter/
If you using Lucene 1.4.3, you need to patch it with the latest TermPositionVector and TermVectorOffsetInfo classes.
In a nutshell, great job by Mark!
Could anyone make a simple JAR/jar-SRC to download? My cie firewall forbide me to connect to a CVS server…
Thanks.
Etienne.