Class MatchScorer.Builder (2.0.0)

public static class MatchScorer.Builder

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


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

Inheritance

java.lang.Object > MatchScorer.Builder

Methods

build()

public MatchScorer build()

Builds a MatchScorer from the set values.

Returns
Type Description
MatchScorer

a MatchScorer built from the set values