Package | Description |
---|---|
org.apache.lucene.codecs |
Codecs API: API for customization of the encoding and structure of the index.
|
org.apache.lucene.util |
Some utility classes.
|
org.apache.lucene.util.bkd |
Block KD-tree, implementing the generic spatial data structure described in
this paper.
|
Modifier and Type | Method and Description |
---|---|
abstract BlockTermState |
PostingsWriterBase.writeTerm(BytesRef term,
TermsEnum termsEnum,
FixedBitSet docsSeen)
Write all postings for one term; use the provided
TermsEnum to pull a PostingsEnum . |
BlockTermState |
PushPostingsWriterBase.writeTerm(BytesRef term,
TermsEnum termsEnum,
FixedBitSet docsSeen) |
Modifier and Type | Method and Description |
---|---|
FixedBitSet |
FixedBitSet.clone() |
static FixedBitSet |
FixedBitSet.ensureCapacity(FixedBitSet bits,
int numBits)
If the given
FixedBitSet is large enough to hold numBits+1 ,
returns the given bits, otherwise returns a new FixedBitSet which
can hold the requested number of bits. |
static FixedBitSet |
BitSetIterator.getFixedBitSetOrNull(DocIdSetIterator iterator)
If the provided iterator wraps a
FixedBitSet , returns it, otherwise returns null. |
Modifier and Type | Method and Description |
---|---|
void |
FixedBitSet.and(FixedBitSet other)
this = this AND other
|
void |
FixedBitSet.andNot(FixedBitSet other)
this = this AND NOT other
|
static long |
FixedBitSet.andNotCount(FixedBitSet a,
FixedBitSet b)
Returns the popcount or cardinality of "a and not b" or
"intersection(a, not(b))".
|
static FixedBitSet |
FixedBitSet.ensureCapacity(FixedBitSet bits,
int numBits)
If the given
FixedBitSet is large enough to hold numBits+1 ,
returns the given bits, otherwise returns a new FixedBitSet which
can hold the requested number of bits. |
static long |
FixedBitSet.intersectionCount(FixedBitSet a,
FixedBitSet b)
Returns the popcount or cardinality of the intersection of the two sets.
|
boolean |
FixedBitSet.intersects(FixedBitSet other)
returns true if the sets have any elements in common
|
void |
FixedBitSet.or(FixedBitSet other)
this = this OR other
|
static long |
FixedBitSet.unionCount(FixedBitSet a,
FixedBitSet b)
Returns the popcount or cardinality of the union of the two sets.
|
void |
FixedBitSet.xor(FixedBitSet other)
this = this XOR other
|
Modifier and Type | Field and Description |
---|---|
protected FixedBitSet |
BKDWriter.docsSeen |
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.