Methods Summary |
---|
public float | 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 tokens
passed to getTokenScore().
|
public float | getTokenScore(org.apache.lucene.analysis.Token token)Called for each token in the current fragment
|
public void | startFragment(TextFragment newFragment)called when a new fragment is started for consideration
|