Top Menu

Custom Search

Monday, July 23, 2012

Lucene Highlighter for snippet generation for search with solr

Here is a post which talks about the same and shows that there is such functionality available with lucene contrib itself and you may not need to build it on your own:
http://hrycan.com/2009/10/25/lucene-highlighter-howto/

It says that there is this contrib called lucene-highlighter-2.4.1.jar for generating the fragments or snippets for search results by using the term frequencies calculated while indexing.

The Contrib and other examples can be downloaded from the link http://code.google.com/p/hrycan-blog/ by the same author 

No comments: