gate.creole.annic.apache.lucene.search
Class BooleanScorer.BucketTable

java.lang.Object
  extended by gate.creole.annic.apache.lucene.search.BooleanScorer.BucketTable
Enclosing class:
BooleanScorer

static final class BooleanScorer.BucketTable
extends Object

A simple hash table of document scores within a range.


Field Summary
(package private)  BooleanScorer.Bucket[] buckets
           
(package private)  BooleanScorer.Bucket first
           
static int MASK
           
private  BooleanScorer scorer
           
static int SIZE
           
 
Constructor Summary
BooleanScorer.BucketTable(BooleanScorer scorer)
           
 
Method Summary
 HitCollector newCollector(int mask)
           
 int size()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SIZE

public static final int SIZE
See Also:
Constant Field Values

MASK

public static final int MASK
See Also:
Constant Field Values

buckets

final BooleanScorer.Bucket[] buckets

first

BooleanScorer.Bucket first

scorer

private BooleanScorer scorer
Constructor Detail

BooleanScorer.BucketTable

public BooleanScorer.BucketTable(BooleanScorer scorer)
Method Detail

size

public final int size()

newCollector

public HitCollector newCollector(int mask)