The highlight package contains classes to provide "keyword in context" features typically used to highlight search terms in the text of results pages.
Packages 
Package Description
org.apache.lucene.search.highlight
The highlight package contains classes to provide "keyword in context" features typically used to highlight search terms in the text of results pages.
org.apache.lucene.search.vectorhighlight
This is an another highlighter implementation.