Uses of Class
org.apache.lucene.util.FixedBitSet
Packages that use FixedBitSet
Package
Description
Codecs API: API for customization of the encoding and structure of the index.
Pluggable term index / block terms dictionary implementations.
BlockTree terms dictionary.
Same postings format as Lucene50, except the terms dictionary also
supports ords, i.e.
Codec PostingsFormat for fast access to low-frequency terms
such as primary key fields.
A primary-key postings format that associates a version (long) with each term and
can provide fail-fast lookups by ID and version.
Components from the Lucene 7.0 index format.
Components from the Lucene 8.0 index format
See
org.apache.lucene.codecs.lucene84 for an overview
of the index format.Term dictionary, DocValues or Postings formats that are read
entirely into memory.
Simpletext Codec: writes human readable postings.
Pluggable term index / block terms dictionary implementations.
The logical representation of a
Document for indexing and searching.Code to maintain and access indices.
Code to search indices.
Grouping.
Support for index-time and query-time joins.
Some utility classes.
Block KD-tree, implementing the generic spatial data structure described in
this paper.
-
Uses of FixedBitSet in org.apache.lucene.codecs
Methods in org.apache.lucene.codecs with parameters of type FixedBitSetModifier and TypeMethodDescriptionabstract BlockTermStatePostingsWriterBase.writeTerm(BytesRef term, TermsEnum termsEnum, FixedBitSet docsSeen, NormsProducer norms) Write all postings for one term; use the providedTermsEnumto pull aPostingsEnum.final BlockTermStatePushPostingsWriterBase.writeTerm(BytesRef term, TermsEnum termsEnum, FixedBitSet docsSeen, NormsProducer norms) -
Uses of FixedBitSet in org.apache.lucene.codecs.blockterms
Fields in org.apache.lucene.codecs.blockterms declared as FixedBitSet -
Uses of FixedBitSet in org.apache.lucene.codecs.blocktree
Fields in org.apache.lucene.codecs.blocktree declared as FixedBitSetModifier and TypeFieldDescription(package private) final FixedBitSetBlockTreeTermsWriter.TermsWriter.docsSeen -
Uses of FixedBitSet in org.apache.lucene.codecs.blocktreeords
Fields in org.apache.lucene.codecs.blocktreeords declared as FixedBitSetModifier and TypeFieldDescription(package private) final FixedBitSetOrdsBlockTreeTermsWriter.TermsWriter.docsSeen -
Uses of FixedBitSet in org.apache.lucene.codecs.bloom
Fields in org.apache.lucene.codecs.bloom declared as FixedBitSetConstructors in org.apache.lucene.codecs.bloom with parameters of type FixedBitSetModifierConstructorDescriptionprivateFuzzySet(FixedBitSet filter, int bloomSize, HashFunction hashFunction) -
Uses of FixedBitSet in org.apache.lucene.codecs.idversion
Fields in org.apache.lucene.codecs.idversion declared as FixedBitSetModifier and TypeFieldDescription(package private) final FixedBitSetVersionBlockTreeTermsWriter.TermsWriter.docsSeen -
Uses of FixedBitSet in org.apache.lucene.codecs.lucene70
Methods in org.apache.lucene.codecs.lucene70 with parameters of type FixedBitSetModifier and TypeMethodDescriptionprivate static voidIndexedDISI.flush(int block, FixedBitSet buffer, int cardinality, IndexOutput out) -
Uses of FixedBitSet in org.apache.lucene.codecs.lucene80
Methods in org.apache.lucene.codecs.lucene80 with parameters of type FixedBitSetModifier and TypeMethodDescriptionprivate static byte[]IndexedDISI.createRank(FixedBitSet buffer, byte denseRankPower) private static voidIndexedDISI.flush(int block, FixedBitSet buffer, int cardinality, byte denseRankPower, IndexOutput out) -
Uses of FixedBitSet in org.apache.lucene.codecs.memory
Fields in org.apache.lucene.codecs.memory with type parameters of type FixedBitSetModifier and TypeFieldDescriptionprivate final Map<String, FixedBitSet> DirectDocValuesProducer.docsWithFieldInstances -
Uses of FixedBitSet in org.apache.lucene.codecs.simpletext
Fields in org.apache.lucene.codecs.simpletext declared as FixedBitSet -
Uses of FixedBitSet in org.apache.lucene.codecs.uniformsplit
Fields in org.apache.lucene.codecs.uniformsplit declared as FixedBitSetMethods in org.apache.lucene.codecs.uniformsplit that return FixedBitSetModifier and TypeMethodDescriptionFieldMetadata.getDocsSeen()Provides theFixedBitSetto keep track of the docs seen when callingPostingsWriterBase.writeTerm(BytesRef, TermsEnum, FixedBitSet, org.apache.lucene.codecs.NormsProducer). -
Uses of FixedBitSet in org.apache.lucene.document
Methods in org.apache.lucene.document with parameters of type FixedBitSetModifier and TypeMethodDescriptionprivate static PointValues.IntersectVisitorSpatialQuery.getContainsDenseVisitor(SpatialQuery.SpatialVisitor spatialVisitor, ShapeField.QueryRelation queryRelation, FixedBitSet result, FixedBitSet excluded, long[] cost) create a visitor that adds documents that match the query using a dense bitset; used with CONTAINSprivate static PointValues.IntersectVisitorSpatialQuery.getDenseVisitor(SpatialQuery.SpatialVisitor spatialVisitor, ShapeField.QueryRelation queryRelation, FixedBitSet result, FixedBitSet excluded, long[] cost) create a visitor that adds documents that match the query using a dense bitset; used with WITHIN invalid input: '&' DISJOINTprivate static PointValues.IntersectVisitorSpatialQuery.getIntersectsDenseVisitor(SpatialQuery.SpatialVisitor spatialVisitor, ShapeField.QueryRelation queryRelation, FixedBitSet result, long[] cost) Scorer used for INTERSECTS when the number of points > 4 * number of docsprivate static PointValues.IntersectVisitorSpatialQuery.getInverseDenseVisitor(SpatialQuery.SpatialVisitor spatialVisitor, ShapeField.QueryRelation queryRelation, FixedBitSet result, long[] cost) create a visitor that clears documents that do not match the polygon query using a dense bitset; used with WITHIN invalid input: '&' DISJOINTprivate static PointValues.IntersectVisitorSpatialQuery.getShallowInverseDenseVisitor(SpatialQuery.SpatialVisitor spatialVisitor, ShapeField.QueryRelation queryRelation, FixedBitSet result) create a visitor that clears documents that do not match the polygon query using a dense bitset; used with WITHIN invalid input: '&' DISJOINT. -
Uses of FixedBitSet in org.apache.lucene.index
Fields in org.apache.lucene.index declared as FixedBitSetModifier and TypeFieldDescriptionprivate final FixedBitSetSoftDeletesDirectoryReaderWrapper.SoftDeletesFilterCodecReader.bitsprivate final FixedBitSetSoftDeletesDirectoryReaderWrapper.SoftDeletesFilterLeafReader.bitsprivate final FixedBitSetCheckIndex.VerifyPointsVisitor.docsSeenprivate FixedBitSetFieldUpdatesBuffer.hasValues(package private) final FixedBitSetDocumentsWriterPerThread.FlushedSegment.liveDocs(package private) FixedBitSetMultiPassIndexSplitter.FakeDeleteLeafIndexReader.liveDocsSegmentWriteState.liveDocsFixedBitSetrecording live documents; this is only set if there is one or more deleted documents.private FixedBitSetDocsWithFieldSet.setprivate FixedBitSetPendingDeletes.writeableLiveDocsMethods in org.apache.lucene.index that return FixedBitSetModifier and TypeMethodDescriptionprotected FixedBitSetPendingDeletes.getMutableBits()private FixedBitSetDocumentsWriterPerThread.sortLiveDocs(Bits liveDocs, Sorter.DocMap sortMap) Methods in org.apache.lucene.index with parameters of type FixedBitSetModifier and TypeMethodDescription(package private) static intPendingSoftDeletes.applySoftDeletes(DocIdSetIterator iterator, FixedBitSet bits) Clears all bits in the given bitset that are set and are also in the given DocIdSetIterator.private static booleanCheckIndex.checkSingleTermRange(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 longCheckIndex.getDocsFromTermRange(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.Constructors in org.apache.lucene.index with parameters of type FixedBitSetModifierConstructorDescriptionprivateFlushedSegment(InfoStream infoStream, SegmentCommitInfo segmentInfo, FieldInfos fieldInfos, BufferedUpdates segmentUpdates, FixedBitSet liveDocs, int delCount, Sorter.DocMap sortMap) privateSoftDeletesFilterCodecReader(CodecReader reader, FixedBitSet bits, int numDocs) privateSoftDeletesFilterLeafReader(LeafReader reader, FixedBitSet bits, int numDocs) -
Uses of FixedBitSet in org.apache.lucene.search
Fields in org.apache.lucene.search declared as FixedBitSetModifier and TypeFieldDescription(package private) FixedBitSetMemoryAccountingBitsetCollector.bitSetMethods in org.apache.lucene.search that return types with arguments of type FixedBitSetModifier and TypeMethodDescriptionprivate ArrayList<FixedBitSet> SloppyPhraseMatcher.ppTermsBitSets(PhrasePositions[] rpp, HashMap<Term, Integer> tord) bit-sets - for each repeating pp, for each of its repeating terms, the term ordinal values is setMethod parameters in org.apache.lucene.search with type arguments of type FixedBitSetModifier and TypeMethodDescriptionSloppyPhraseMatcher.termGroups(LinkedHashMap<Term, Integer> tord, ArrayList<FixedBitSet> bb) map each term to the single group that contains itprivate voidSloppyPhraseMatcher.unionTermGroups(ArrayList<FixedBitSet> bb) union (term group) bit-sets until they are disjoint (O(n^^2)), and each group have different terms -
Uses of FixedBitSet in org.apache.lucene.search.grouping
Methods in org.apache.lucene.search.grouping that return FixedBitSet -
Uses of FixedBitSet in org.apache.lucene.search.join
Fields in org.apache.lucene.search.join declared as FixedBitSetModifier and TypeFieldDescriptionprivate final FixedBitSetPointInSetIncludingScoreQuery.MergePointVisitor.resultMethods in org.apache.lucene.search.join with parameters of type FixedBitSetModifier and TypeMethodDescriptionprotected voidTermsIncludingScoreQuery.MVInOrderScorer.fillDocsAndScores(FixedBitSet matchingDocs, TermsEnum termsEnum) protected voidTermsIncludingScoreQuery.SVInOrderScorer.fillDocsAndScores(FixedBitSet matchingDocs, TermsEnum termsEnum) Constructors in org.apache.lucene.search.join with parameters of type FixedBitSetModifierConstructorDescriptionprivateMergePointVisitor(PrefixCodedTerms sortedPackedPoints, FixedBitSet result, float[] scores) -
Uses of FixedBitSet in org.apache.lucene.util
Fields in org.apache.lucene.util declared as FixedBitSetModifier and TypeFieldDescriptionprivate FixedBitSetDocIdSetBuilder.bitSet(package private) final FixedBitSetDocIdSetBuilder.FixedBitSetAdder.bitSetprivate FixedBitSetRoaringDocIdSet.Builder.denseBufferMethods in org.apache.lucene.util that return FixedBitSetModifier and TypeMethodDescriptionFixedBitSet.clone()static FixedBitSetMake a copy of the given bits.static FixedBitSetFixedBitSet.ensureCapacity(FixedBitSet bits, int numBits) If the givenFixedBitSetis large enough to holdnumBits+1, returns the given bits, otherwise returns a newFixedBitSetwhich can hold the requested number of bits.static FixedBitSetBitSetIterator.getFixedBitSetOrNull(DocIdSetIterator iterator) If the provided iterator wraps aFixedBitSet, returns it, otherwise returns null.Methods in org.apache.lucene.util with parameters of type FixedBitSetModifier and TypeMethodDescriptionvoidFixedBitSet.and(FixedBitSet other) this = this AND othervoidFixedBitSet.andNot(FixedBitSet other) this = this AND NOT otherstatic longFixedBitSet.andNotCount(FixedBitSet a, FixedBitSet b) Returns the popcount or cardinality of "a and not b" or "intersection(a, not(b))".static FixedBitSetFixedBitSet.ensureCapacity(FixedBitSet bits, int numBits) If the givenFixedBitSetis large enough to holdnumBits+1, returns the given bits, otherwise returns a newFixedBitSetwhich can hold the requested number of bits.static longFixedBitSet.intersectionCount(FixedBitSet a, FixedBitSet b) Returns the popcount or cardinality of the intersection of the two sets.booleanFixedBitSet.intersects(FixedBitSet other) returns true if the sets have any elements in commonvoidFixedBitSet.or(FixedBitSet other) this = this OR otherstatic longFixedBitSet.unionCount(FixedBitSet a, FixedBitSet b) Returns the popcount or cardinality of the union of the two sets.voidFixedBitSet.xor(FixedBitSet other) this = this XOR otherConstructors in org.apache.lucene.util with parameters of type FixedBitSet -
Uses of FixedBitSet in org.apache.lucene.util.bkd
Fields in org.apache.lucene.util.bkd declared as FixedBitSet