com.google.appengine.api.search
Class MatchScorer.Builder

java.lang.Object
  extended by com.google.appengine.api.search.MatchScorer.Builder
Direct Known Subclasses:
RescoringMatchScorer.Builder
Enclosing class:
MatchScorer

public static class MatchScorer.Builder
extends java.lang.Object

A builder that constructs MatchScorers. A MatchScorer will invoke a scorer on each search result. The following code illustrates setting a match scorer to score documents, scoring at most 1000 documents.

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


Method Summary
 MatchScorer build()
          Builds a MatchScorer from the set values.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

build

public MatchScorer build()
Builds a MatchScorer from the set values.

Returns:
a MatchScorer built from the set values