Uses of Class
org.apache.lucene.util.FixedBitSet
-
Packages that use FixedBitSet Package Description org.apache.lucene.codecs Codecs API: API for customization of the encoding and structure of the index.org.apache.lucene.codecs.blockterms Pluggable term index / block terms dictionary implementations.org.apache.lucene.codecs.blocktree BlockTree terms dictionary.org.apache.lucene.codecs.blocktreeords Same postings format as Lucene50, except the terms dictionary also supports ords, i.e.org.apache.lucene.codecs.bloom Codec PostingsFormat for fast access to low-frequency terms such as primary key fields.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 Components from the Lucene 8.0 index format Seeorg.apache.lucene.codecs.lucene84for an overview of the index format.org.apache.lucene.codecs.memory Term dictionary, DocValues or Postings formats that are read entirely into memory.org.apache.lucene.codecs.simpletext Simpletext Codec: writes human readable postings.org.apache.lucene.codecs.uniformsplit Pluggable term index / block terms dictionary implementations.org.apache.lucene.document The logical representation of aDocumentfor 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. -
-
Uses of FixedBitSet in org.apache.lucene.codecs
Methods in org.apache.lucene.codecs with parameters of type FixedBitSet Modifier and Type Method Description abstract BlockTermStatePostingsWriterBase. writeTerm(BytesRef term, TermsEnum termsEnum, FixedBitSet docsSeen, NormsProducer norms)Write all postings for one term; use the providedTermsEnumto pull aPostingsEnum.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 Modifier and Type Field Description private FixedBitSetBlockTermsWriter.TermsWriter. docsSeen -
Uses of FixedBitSet in org.apache.lucene.codecs.blocktree
Fields in org.apache.lucene.codecs.blocktree declared as FixedBitSet Modifier and Type Field Description (package private) FixedBitSetBlockTreeTermsWriter.TermsWriter. docsSeen -
Uses of FixedBitSet in org.apache.lucene.codecs.blocktreeords
Fields in org.apache.lucene.codecs.blocktreeords declared as FixedBitSet Modifier and Type Field Description (package private) FixedBitSetOrdsBlockTreeTermsWriter.TermsWriter. docsSeen -
Uses of FixedBitSet in org.apache.lucene.codecs.bloom
Fields in org.apache.lucene.codecs.bloom declared as FixedBitSet Modifier and Type Field Description private FixedBitSetFuzzySet. filterConstructors in org.apache.lucene.codecs.bloom with parameters of type FixedBitSet Constructor Description FuzzySet(FixedBitSet filter, int bloomSize, HashFunction hashFunction) -
Uses of FixedBitSet in org.apache.lucene.codecs.idversion
Fields in org.apache.lucene.codecs.idversion declared as FixedBitSet Modifier and Type Field Description (package private) FixedBitSetVersionBlockTreeTermsWriter.TermsWriter. docsSeen -
Uses of FixedBitSet in org.apache.lucene.codecs.lucene70
Methods in org.apache.lucene.codecs.lucene70 with parameters of type FixedBitSet Modifier and Type Method Description private 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 FixedBitSet Modifier and Type Method Description private 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 FixedBitSet Modifier and Type Field Description private java.util.Map<java.lang.String,FixedBitSet>DirectDocValuesProducer. docsWithFieldInstances -
Uses of FixedBitSet in org.apache.lucene.codecs.simpletext
Fields in org.apache.lucene.codecs.simpletext declared as FixedBitSet Modifier and Type Field Description protected FixedBitSetSimpleTextBKDWriter. docsSeen -
Uses of FixedBitSet in org.apache.lucene.codecs.uniformsplit
Fields in org.apache.lucene.codecs.uniformsplit declared as FixedBitSet Modifier and Type Field Description protected FixedBitSetFieldMetadata. docsSeenMethods in org.apache.lucene.codecs.uniformsplit that return FixedBitSet Modifier and Type Method Description FixedBitSetFieldMetadata. 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 FixedBitSet Modifier and Type Method Description private 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 & 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 & 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 & DISJOINT. -
Uses of FixedBitSet in org.apache.lucene.index
Fields in org.apache.lucene.index declared as FixedBitSet Modifier and Type Field Description private FixedBitSetSoftDeletesDirectoryReaderWrapper.SoftDeletesFilterCodecReader. bitsprivate FixedBitSetSoftDeletesDirectoryReaderWrapper.SoftDeletesFilterLeafReader. bitsprivate FixedBitSetCheckIndex.VerifyPointsVisitor. docsSeenprivate FixedBitSetFieldUpdatesBuffer. hasValues(package private) FixedBitSetDocumentsWriterPerThread.FlushedSegment. liveDocs(package private) FixedBitSetMultiPassIndexSplitter.FakeDeleteLeafIndexReader. liveDocsFixedBitSetSegmentWriteState. 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 FixedBitSet Modifier and Type Method Description protected FixedBitSetPendingDeletes. getMutableBits()private FixedBitSetDocumentsWriterPerThread. sortLiveDocs(Bits liveDocs, Sorter.DocMap sortMap)Methods in org.apache.lucene.index with parameters of type FixedBitSet Modifier and Type Method Description (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(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 longCheckIndex. 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.Constructors in org.apache.lucene.index with parameters of type FixedBitSet Constructor 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) -
Uses of FixedBitSet in org.apache.lucene.search
Fields in org.apache.lucene.search declared as FixedBitSet Modifier and Type Field Description (package private) FixedBitSetMemoryAccountingBitsetCollector. bitSetMethods in org.apache.lucene.search that return types with arguments of type FixedBitSet Modifier and Type Method 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 setMethod parameters in org.apache.lucene.search with type arguments of type FixedBitSet Modifier and Type Method 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 itprivate voidSloppyPhraseMatcher. unionTermGroups(java.util.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 Modifier and Type Method Description FixedBitSetAllGroupHeadsCollector. retrieveGroupHeads(int maxDoc) -
Uses of FixedBitSet in org.apache.lucene.search.join
Fields in org.apache.lucene.search.join declared as FixedBitSet Modifier and Type Field Description private FixedBitSetPointInSetIncludingScoreQuery.MergePointVisitor. resultMethods in org.apache.lucene.search.join with parameters of type FixedBitSet Modifier and Type Method Description protected 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 FixedBitSet Constructor Description MergePointVisitor(PrefixCodedTerms sortedPackedPoints, FixedBitSet result, float[] scores) -
Uses of FixedBitSet in org.apache.lucene.util
Fields in org.apache.lucene.util declared as FixedBitSet Modifier and Type Field Description private FixedBitSetDocIdSetBuilder. bitSet(package private) FixedBitSetDocIdSetBuilder.FixedBitSetAdder. bitSetprivate FixedBitSetRoaringDocIdSet.Builder. denseBufferMethods in org.apache.lucene.util that return FixedBitSet Modifier and Type Method Description FixedBitSetFixedBitSet. clone()static FixedBitSetFixedBitSet. copyOf(Bits bits)Make 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 FixedBitSet Modifier and Type Method Description voidFixedBitSet. 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 Constructor Description FixedBitSetAdder(FixedBitSet bitSet) -
Uses of FixedBitSet in org.apache.lucene.util.bkd
Fields in org.apache.lucene.util.bkd declared as FixedBitSet Modifier and Type Field Description protected FixedBitSetBKDWriter. docsSeen
-