public static class MatchScorer.BuilderA 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();
Methods
build()
public MatchScorer build()Builds a MatchScorer from the set values.
| Returns | |
|---|---|
| Type | Description |
MatchScorer |
a MatchScorer built from the set values |