Class QueryScorer

Scorer implementation which scores text fragments by the number of
unique query terms found. This class converts appropriate Querys to
SpanQuerys and attempts to score only those terms that participated in
generating the 'hit' on the document.

Method Summary

Called when the Highlighter has no more tokens for the current fragment -
the Scorer returns the weighting it has derived for the most recent
fragment, typically based on the results of Scorer.getTokenScore().

Method Detail

getFragmentScore

Called when the Highlighter has no more tokens for the current fragment -
the Scorer returns the weighting it has derived for the most recent
fragment, typically based on the results of Scorer.getTokenScore().