Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.google.appengine.api.search.dev
Class MatchScorer

    java.lang.Object
      com.google.appengine.api.search.dev.Scorer
          com.google.appengine.api.search.dev.MatchScorer

    public class MatchScorer

extends Scorer

A scorer that returns a score based on term frequency divided by document frequency.

Nested Class Summary
`static class` | `MatchScorer.Result` Result class for MatchScorer.

Nested classes/interfaces inherited from class com.google.appengine.api.search.dev.Scorer
`Scorer.SearchResults`

Constructor Summary
`MatchScorer()`

Method Summary
`static Scorer` | `newInstance(SearchServicePb.SearchParams searchParams, java.util.Map<java.lang.String,java.util.Set<DocumentPb.FieldValue.ContentType>> fieldTypes)`
`Scorer.SearchResults` | `search(IndexSearcher indexSearcher, Query q, int offset, int limit)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### MatchScorer

    public MatchScorer()

Method Detail

### newInstance

    public static Scorer newInstance(SearchServicePb.SearchParams searchParams,
                                     java.util.Map<java.lang.String,java.util.Set<DocumentPb.FieldValue.ContentType>> fieldTypes)

### search

    public Scorer.SearchResults search(IndexSearcher indexSearcher,
                                       Query q,
                                       int offset,
                                       int limit)
                                throws java.io.IOException

  Specified by:
    `search` in class `Scorer`
  Throws:
    `java.io.IOException`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD