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:

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 by the same author 

No comments: