Package | Description |
---|---|
org.apache.lucene.codecs |
Codecs API: API for customization of the encoding and structure of the index.
|
org.apache.lucene.codecs.blocktree |
BlockTree terms dictionary.
|
org.apache.lucene.codecs.idversion |
A primary-key postings format that associates a version (long) with each term and
can provide fail-fast lookups by ID and version.
|
org.apache.lucene.codecs.lucene70 |
Components from the Lucene 7.0 index format.
|
org.apache.lucene.codecs.lucene80 |
Lucene 8.0 file format.
|
org.apache.lucene.document |
The logical representation of a
Document for indexing and searching. |
org.apache.lucene.index |
Code to maintain and access indices.
|
org.apache.lucene.search |
Code to search indices.
|
org.apache.lucene.search.grouping |
Grouping.
|
org.apache.lucene.search.join |
Support for index-time and query-time joins.
|
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,
NormsProducer norms)
Write all postings for one term; use the provided
TermsEnum to pull a PostingsEnum . |
BlockTermState |
PushPostingsWriterBase.writeTerm(BytesRef term,
TermsEnum termsEnum,
FixedBitSet docsSeen,
NormsProducer norms) |
Modifier and Type | Field and Description |
---|---|
(package private) FixedBitSet |
BlockTreeTermsWriter.TermsWriter.docsSeen |
Modifier and Type | Field and Description |
---|---|
(package private) FixedBitSet |
VersionBlockTreeTermsWriter.TermsWriter.docsSeen |
Modifier and Type | Method and Description |
---|---|
private static void |
IndexedDISI.flush(int block,
FixedBitSet buffer,
int cardinality,
IndexOutput out) |
Modifier and Type | Method and Description |
---|---|
private static byte[] |
IndexedDISI.createRank(FixedBitSet buffer,
byte denseRankPower) |
private static void |
IndexedDISI.flush(int block,
FixedBitSet buffer,
int cardinality,
byte denseRankPower,
IndexOutput out) |
Modifier and Type | Method and Description |
---|---|
private PointValues.IntersectVisitor |
LatLonShapeQuery.RelationScorerSupplier.getInverseIntersectVisitor(LatLonShapeQuery query,
FixedBitSet result,
int[] cost)
create a visitor that clears documents that do NOT match the polygon query; used with INTERSECTS
|
protected Scorer |
LatLonShapeQuery.RelationScorerSupplier.getScorer(LatLonShapeQuery query,
Weight weight,
FixedBitSet intersect,
FixedBitSet disjoint,
float boost,
ScoreMode scoreMode)
returns a Scorer for all other (non INTERSECT) queries
|
Modifier and Type | Field and Description |
---|---|
private FixedBitSet |
SoftDeletesDirectoryReaderWrapper.SoftDeletesFilterLeafReader.bits |
private FixedBitSet |
SoftDeletesDirectoryReaderWrapper.SoftDeletesFilterCodecReader.bits |
private FixedBitSet |
CheckIndex.VerifyPointsVisitor.docsSeen |
private FixedBitSet |
FieldUpdatesBuffer.hasValues |
FixedBitSet |
SegmentWriteState.liveDocs
FixedBitSet recording live documents; this is
only set if there is one or more deleted documents. |
(package private) FixedBitSet |
DocumentsWriterPerThread.FlushedSegment.liveDocs |
(package private) FixedBitSet |
MultiPassIndexSplitter.FakeDeleteLeafIndexReader.liveDocs |
private FixedBitSet |
DocsWithFieldSet.set |
private FixedBitSet |
PendingDeletes.writeableLiveDocs |
Modifier and Type | Method and Description |
---|---|
protected FixedBitSet |
PendingDeletes.getMutableBits() |
private FixedBitSet |
DocumentsWriterPerThread.sortLiveDocs(Bits liveDocs,
Sorter.DocMap sortMap) |
Modifier and Type | Method and Description |
---|---|
(package private) static int |
PendingSoftDeletes.applySoftDeletes(DocIdSetIterator iterator,
FixedBitSet bits)
Clears all bits in the given bitset that are set and are also in the given DocIdSetIterator.
|
private static boolean |
CheckIndex.checkSingleTermRange(java.lang.String field,
int maxDoc,
Terms terms,
BytesRef minTerm,
BytesRef maxTerm,
FixedBitSet normalDocs,
FixedBitSet intersectDocs)
Test Terms.intersect on this range, and validates that it returns the same doc ids as using non-intersect TermsEnum.
|
private static long |
CheckIndex.getDocsFromTermRange(java.lang.String field,
int maxDoc,
TermsEnum termsEnum,
FixedBitSet docsSeen,
BytesRef minTerm,
BytesRef maxTerm,
boolean isIntersect)
Visits all terms in the range minTerm (inclusive) to maxTerm (exclusive), marking all doc IDs encountered into allDocsSeen, and
returning the total number of terms visited.
|
Constructor and Description |
---|
FlushedSegment(InfoStream infoStream,
SegmentCommitInfo segmentInfo,
FieldInfos fieldInfos,
BufferedUpdates segmentUpdates,
FixedBitSet liveDocs,
int delCount,
Sorter.DocMap sortMap) |
SoftDeletesFilterCodecReader(CodecReader reader,
FixedBitSet bits,
int numDocs) |
SoftDeletesFilterLeafReader(LeafReader reader,
FixedBitSet bits,
int numDocs) |
Modifier and Type | Method and Description |
---|---|
private java.util.ArrayList<FixedBitSet> |
SloppyPhraseMatcher.ppTermsBitSets(PhrasePositions[] rpp,
java.util.HashMap<Term,java.lang.Integer> tord)
bit-sets - for each repeating pp, for each of its repeating terms, the term ordinal values is set
|
Modifier and Type | Method and Description |
---|---|
private java.util.HashMap<Term,java.lang.Integer> |
SloppyPhraseMatcher.termGroups(java.util.LinkedHashMap<Term,java.lang.Integer> tord,
java.util.ArrayList<FixedBitSet> bb)
map each term to the single group that contains it
|
private void |
SloppyPhraseMatcher.unionTermGroups(java.util.ArrayList<FixedBitSet> bb)
union (term group) bit-sets until they are disjoint (O(n^^2)), and each group have different terms
|
Modifier and Type | Method and Description |
---|---|
FixedBitSet |
AllGroupHeadsCollector.retrieveGroupHeads(int maxDoc) |
Modifier and Type | Field and Description |
---|---|
private FixedBitSet |
PointInSetIncludingScoreQuery.MergePointVisitor.result |
Modifier and Type | Method and Description |
---|---|
protected void |
TermsIncludingScoreQuery.SVInOrderScorer.fillDocsAndScores(FixedBitSet matchingDocs,
TermsEnum termsEnum) |
protected void |
TermsIncludingScoreQuery.MVInOrderScorer.fillDocsAndScores(FixedBitSet matchingDocs,
TermsEnum termsEnum) |
Constructor and Description |
---|
MergePointVisitor(PrefixCodedTerms sortedPackedPoints,
FixedBitSet result,
float[] scores) |
Modifier and Type | Field and Description |
---|---|
private FixedBitSet |
DocIdSetBuilder.bitSet |
(package private) FixedBitSet |
DocIdSetBuilder.FixedBitSetAdder.bitSet |
private FixedBitSet |
RoaringDocIdSet.Builder.denseBuffer |
Modifier and Type | Method and Description |
---|---|
FixedBitSet |
FixedBitSet.clone() |
static FixedBitSet |
FixedBitSet.copyOf(Bits bits)
Make a copy of the given bits.
|
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
|
Constructor and Description |
---|
FixedBitSetAdder(FixedBitSet bitSet) |
Modifier and Type | Field and Description |
---|---|
protected FixedBitSet |
BKDWriter.docsSeen |