Class RescoringMatchScorer.Builder (2.0.0)

public static final class RescoringMatchScorer.Builder extends MatchScorer.Builder

A builder that constructs RescoringMatchScorers. A RescoringMatchScorer will invoke a scorer on each search result. The following code illustrates building a rescoring match scorer to score documents:

RescoringMatchScorer scorer = RescoringMatchScorer.newBuilder().build();

Inheritance

java.lang.Object > MatchScorer.Builder > RescoringMatchScorer.Builder

Methods

build()

public RescoringMatchScorer build()

Builds a RescoringMatchScorer from the set values.

Returns
Type Description
RescoringMatchScorer

a RescoringMatchScorer built from the set values

Overrides