Package org.apache.lucene.search.matchhighlight


package org.apache.lucene.search.matchhighlight
This package contains several components useful to build a highlighter on top of the Matches API.

MatchRegionRetriever can be used to retrieve hit areas for a given Query and one (or more) indexed documents. These hit areas can be then passed to PassageSelector and formatted with PassageFormatter.