CarmelUniformTermPruningPolicy.ByDocComparator (Lucene 3.6.2 API)
Keywords: org.apache.lucene.index.pruning.CarmelUniformTermPruningPolicy.ByDocComparator class

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

## org.apache.lucene.index.pruning
Class CarmelUniformTermPruningPolicy.ByDocComparator

    java.lang.Object
      org.apache.lucene.index.pruning.CarmelUniformTermPruningPolicy.ByDocComparator

All Implemented Interfaces:
  Comparator<ScoreDoc>

Enclosing class:
  CarmelUniformTermPruningPolicy

    public static class CarmelUniformTermPruningPolicy.ByDocComparator

extends Object
implements Comparator<ScoreDoc>

Field Summary
`static CarmelUniformTermPruningPolicy.ByDocComparator` | `INSTANCE`

Constructor Summary
`CarmelUniformTermPruningPolicy.ByDocComparator()`

Method Summary
`int` | `compare(ScoreDoc o1, ScoreDoc o2)`

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

Methods inherited from interface java.util.Comparator
`equals`

Field Detail

### INSTANCE

    public static final CarmelUniformTermPruningPolicy.ByDocComparator INSTANCE

Constructor Detail

### CarmelUniformTermPruningPolicy.ByDocComparator

    public CarmelUniformTermPruningPolicy.ByDocComparator()

Method Detail

### compare

    public int compare(ScoreDoc o1,
                       ScoreDoc o2)

  Specified by:
    `compare` in interface `Comparator<ScoreDoc>`

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