Method SetScorer
SetScorer(Scorer)
Called before successive calls to Collect(Int32). Implementations
that need the score of the current document (passed-in to
Collect(Int32)), should save the passed-in Scorer and call
scorer.GetScore()
when needed.
Declaration
void SetScorer(Scorer scorer)
Parameters
Type | Name | Description |
---|---|---|
Scorer | scorer |