Uses of Interface
org.apache.lucene.util.Bits
Packages that use Bits
Package
Description
Utility functions for text analysis.
Lucene 5.0 file format.
Lucene 9.0 file format.
Lucene 9.1 file format.
Lucene 9.2 file format.
Lucene 9.4 file format.
Lucene 9.5 file format.
Codecs API: API for customization of the encoding and structure of the index.
A simple bit-vector format that supports hamming distance and storing vectors in an HNSW graph
Lucene 9.0 file format.
Lucene 9.5 file format.
Lucene 9.9 file format.
Postings format that can delegate to different formats per-field.
Simpletext Codec: writes human readable postings.
Code to maintain and access indices.
High-performance single-document main memory Apache Lucene fulltext search index.
Misc index tools and index support.
A primary-key postings format that associates a version (long) with each term and can provide
fail-fast lookups by ID and version.
This package contains several point types:
BigIntegerPoint for 128-bit
integers
LatLonPoint for latitude/longitude
geospatial points
This package contains a flexible graph-based proximity query, TermAutomatonQuery, and geospatial
queries.
Code to search indices.
Grouping.
Highlighting search terms.
Support for index-time and query-time joins.
Support for Autocomplete/Autosuggest
Support for document suggestion
Some utility classes.
Navigable Small-World graph, nominally Hierarchical but currently only has a single layer.
-
Uses of Bits in org.apache.lucene.analysis.util
Fields in org.apache.lucene.analysis.util declared as BitsModifier and TypeFieldDescriptionstatic final BitsUnicodeProps.WHITESPACEBitset with Unicode WHITESPACE code points.Methods in org.apache.lucene.analysis.util that return Bits -
Uses of Bits in org.apache.lucene.backward_codecs.lucene50
Methods in org.apache.lucene.backward_codecs.lucene50 that return BitsModifier and TypeMethodDescriptionLucene50LiveDocsFormat.readLiveDocs(Directory dir, SegmentCommitInfo info, IOContext context) Methods in org.apache.lucene.backward_codecs.lucene50 with parameters of type BitsModifier and TypeMethodDescriptionprivate intLucene50LiveDocsFormat.writeBits(IndexOutput output, Bits bits) voidLucene50LiveDocsFormat.writeLiveDocs(Bits bits, Directory dir, SegmentCommitInfo info, int newDelCount, IOContext context) Note: although this format is only used on older versions, we need to keep the write logic in addition to the read logic. -
Uses of Bits in org.apache.lucene.backward_codecs.lucene90
Methods in org.apache.lucene.backward_codecs.lucene90 that return BitsModifier and TypeMethodDescriptionprivate BitsLucene90HnswVectorsReader.getAcceptOrds(Bits acceptDocs, Lucene90HnswVectorsReader.FieldEntry fieldEntry) Methods in org.apache.lucene.backward_codecs.lucene90 with parameters of type BitsModifier and TypeMethodDescriptionprivate BitsLucene90HnswVectorsReader.getAcceptOrds(Bits acceptDocs, Lucene90HnswVectorsReader.FieldEntry fieldEntry) voidLucene90HnswVectorsReader.search(String field, byte[] target, KnnCollector knnCollector, Bits acceptDocs) voidLucene90HnswVectorsReader.search(String field, float[] target, KnnCollector knnCollector, Bits acceptDocs) static NeighborQueueLucene90OnHeapHnswGraph.search(float[] query, int topK, int numSeed, RandomAccessVectorValues.Floats vectors, VectorSimilarityFunction similarityFunction, HnswGraph graphValues, Bits acceptOrds, long visitedLimit, SplittableRandom random) Searches for the nearest neighbors of a query vector. -
Uses of Bits in org.apache.lucene.backward_codecs.lucene91
Methods in org.apache.lucene.backward_codecs.lucene91 that return BitsModifier and TypeMethodDescriptionprivate BitsLucene91HnswVectorsReader.getAcceptOrds(Bits acceptDocs, Lucene91HnswVectorsReader.FieldEntry fieldEntry) Methods in org.apache.lucene.backward_codecs.lucene91 with parameters of type BitsModifier and TypeMethodDescriptionprivate BitsLucene91HnswVectorsReader.getAcceptOrds(Bits acceptDocs, Lucene91HnswVectorsReader.FieldEntry fieldEntry) voidLucene91HnswVectorsReader.search(String field, byte[] target, KnnCollector knnCollector, Bits acceptDocs) voidLucene91HnswVectorsReader.search(String field, float[] target, KnnCollector knnCollector, Bits acceptDocs) -
Uses of Bits in org.apache.lucene.backward_codecs.lucene92
Methods in org.apache.lucene.backward_codecs.lucene92 that return BitsModifier and TypeMethodDescriptionOffHeapFloatVectorValues.DenseOffHeapVectorValues.getAcceptOrds(Bits acceptDocs) OffHeapFloatVectorValues.EmptyOffHeapVectorValues.getAcceptOrds(Bits acceptDocs) OffHeapFloatVectorValues.SparseOffHeapVectorValues.getAcceptOrds(Bits acceptDocs) Methods in org.apache.lucene.backward_codecs.lucene92 with parameters of type BitsModifier and TypeMethodDescriptionOffHeapFloatVectorValues.DenseOffHeapVectorValues.getAcceptOrds(Bits acceptDocs) OffHeapFloatVectorValues.EmptyOffHeapVectorValues.getAcceptOrds(Bits acceptDocs) OffHeapFloatVectorValues.SparseOffHeapVectorValues.getAcceptOrds(Bits acceptDocs) voidLucene92HnswVectorsReader.search(String field, byte[] target, KnnCollector knnCollector, Bits acceptDocs) voidLucene92HnswVectorsReader.search(String field, float[] target, KnnCollector knnCollector, Bits acceptDocs) -
Uses of Bits in org.apache.lucene.backward_codecs.lucene94
Methods in org.apache.lucene.backward_codecs.lucene94 that return BitsModifier and TypeMethodDescriptionOffHeapByteVectorValues.DenseOffHeapVectorValues.getAcceptOrds(Bits acceptDocs) OffHeapByteVectorValues.EmptyOffHeapVectorValues.getAcceptOrds(Bits acceptDocs) OffHeapByteVectorValues.SparseOffHeapVectorValues.getAcceptOrds(Bits acceptDocs) OffHeapFloatVectorValues.DenseOffHeapVectorValues.getAcceptOrds(Bits acceptDocs) OffHeapFloatVectorValues.EmptyOffHeapVectorValues.getAcceptOrds(Bits acceptDocs) OffHeapFloatVectorValues.SparseOffHeapVectorValues.getAcceptOrds(Bits acceptDocs) Methods in org.apache.lucene.backward_codecs.lucene94 with parameters of type BitsModifier and TypeMethodDescriptionOffHeapByteVectorValues.DenseOffHeapVectorValues.getAcceptOrds(Bits acceptDocs) OffHeapByteVectorValues.EmptyOffHeapVectorValues.getAcceptOrds(Bits acceptDocs) OffHeapByteVectorValues.SparseOffHeapVectorValues.getAcceptOrds(Bits acceptDocs) OffHeapFloatVectorValues.DenseOffHeapVectorValues.getAcceptOrds(Bits acceptDocs) OffHeapFloatVectorValues.EmptyOffHeapVectorValues.getAcceptOrds(Bits acceptDocs) OffHeapFloatVectorValues.SparseOffHeapVectorValues.getAcceptOrds(Bits acceptDocs) voidLucene94HnswVectorsReader.search(String field, byte[] target, KnnCollector knnCollector, Bits acceptDocs) voidLucene94HnswVectorsReader.search(String field, float[] target, KnnCollector knnCollector, Bits acceptDocs) -
Uses of Bits in org.apache.lucene.backward_codecs.lucene95
Methods in org.apache.lucene.backward_codecs.lucene95 with parameters of type BitsModifier and TypeMethodDescriptionvoidLucene95HnswVectorsReader.search(String field, byte[] target, KnnCollector knnCollector, Bits acceptDocs) voidLucene95HnswVectorsReader.search(String field, float[] target, KnnCollector knnCollector, Bits acceptDocs) -
Uses of Bits in org.apache.lucene.codecs
Methods in org.apache.lucene.codecs that return BitsModifier and TypeMethodDescriptionabstract BitsLiveDocsFormat.readLiveDocs(Directory dir, SegmentCommitInfo info, IOContext context) Read live docs bits.Methods in org.apache.lucene.codecs with parameters of type BitsModifier and TypeMethodDescriptionabstract voidKnnVectorsReader.search(String field, byte[] target, KnnCollector knnCollector, Bits acceptDocs) Return the k nearest neighbor documents as determined by comparison of their vector values for this field, to the given vector, by the field's similarity function.abstract voidKnnVectorsReader.search(String field, float[] target, KnnCollector knnCollector, Bits acceptDocs) Return the k nearest neighbor documents as determined by comparison of their vector values for this field, to the given vector, by the field's similarity function.abstract voidLiveDocsFormat.writeLiveDocs(Bits bits, Directory dir, SegmentCommitInfo info, int newDelCount, IOContext context) Persist live docs bits. -
Uses of Bits in org.apache.lucene.codecs.bitvectors
Methods in org.apache.lucene.codecs.bitvectors that return BitsModifier and TypeMethodDescriptionFlatBitVectorsScorer.BitRandomVectorScorer.getAcceptOrds(Bits acceptDocs) Methods in org.apache.lucene.codecs.bitvectors with parameters of type BitsModifier and TypeMethodDescriptionFlatBitVectorsScorer.BitRandomVectorScorer.getAcceptOrds(Bits acceptDocs) -
Uses of Bits in org.apache.lucene.codecs.lucene90
Methods in org.apache.lucene.codecs.lucene90 that return BitsModifier and TypeMethodDescriptionLucene90LiveDocsFormat.readLiveDocs(Directory dir, SegmentCommitInfo info, IOContext context) Methods in org.apache.lucene.codecs.lucene90 with parameters of type BitsModifier and TypeMethodDescriptionprivate intLucene90LiveDocsFormat.writeBits(IndexOutput output, Bits bits) voidLucene90LiveDocsFormat.writeLiveDocs(Bits bits, Directory dir, SegmentCommitInfo info, int newDelCount, IOContext context) -
Uses of Bits in org.apache.lucene.codecs.lucene95
Methods in org.apache.lucene.codecs.lucene95 that return BitsModifier and TypeMethodDescriptionOffHeapByteVectorValues.DenseOffHeapVectorValues.getAcceptOrds(Bits acceptDocs) OffHeapByteVectorValues.EmptyOffHeapVectorValues.getAcceptOrds(Bits acceptDocs) OffHeapByteVectorValues.SparseOffHeapVectorValues.getAcceptOrds(Bits acceptDocs) OffHeapFloatVectorValues.DenseOffHeapVectorValues.getAcceptOrds(Bits acceptDocs) OffHeapFloatVectorValues.EmptyOffHeapVectorValues.getAcceptOrds(Bits acceptDocs) OffHeapFloatVectorValues.SparseOffHeapVectorValues.getAcceptOrds(Bits acceptDocs) Methods in org.apache.lucene.codecs.lucene95 with parameters of type BitsModifier and TypeMethodDescriptionOffHeapByteVectorValues.DenseOffHeapVectorValues.getAcceptOrds(Bits acceptDocs) OffHeapByteVectorValues.EmptyOffHeapVectorValues.getAcceptOrds(Bits acceptDocs) OffHeapByteVectorValues.SparseOffHeapVectorValues.getAcceptOrds(Bits acceptDocs) OffHeapFloatVectorValues.DenseOffHeapVectorValues.getAcceptOrds(Bits acceptDocs) OffHeapFloatVectorValues.EmptyOffHeapVectorValues.getAcceptOrds(Bits acceptDocs) OffHeapFloatVectorValues.SparseOffHeapVectorValues.getAcceptOrds(Bits acceptDocs) -
Uses of Bits in org.apache.lucene.codecs.lucene99
Methods in org.apache.lucene.codecs.lucene99 that return BitsModifier and TypeMethodDescriptionOffHeapQuantizedByteVectorValues.DenseOffHeapVectorValues.getAcceptOrds(Bits acceptDocs) OffHeapQuantizedByteVectorValues.EmptyOffHeapVectorValues.getAcceptOrds(Bits acceptDocs) OffHeapQuantizedByteVectorValues.SparseOffHeapVectorValues.getAcceptOrds(Bits acceptDocs) Methods in org.apache.lucene.codecs.lucene99 with parameters of type BitsModifier and TypeMethodDescriptionOffHeapQuantizedByteVectorValues.DenseOffHeapVectorValues.getAcceptOrds(Bits acceptDocs) OffHeapQuantizedByteVectorValues.EmptyOffHeapVectorValues.getAcceptOrds(Bits acceptDocs) OffHeapQuantizedByteVectorValues.SparseOffHeapVectorValues.getAcceptOrds(Bits acceptDocs) voidLucene99HnswVectorsReader.search(String field, byte[] target, KnnCollector knnCollector, Bits acceptDocs) voidLucene99HnswVectorsReader.search(String field, float[] target, KnnCollector knnCollector, Bits acceptDocs) -
Uses of Bits in org.apache.lucene.codecs.perfield
Methods in org.apache.lucene.codecs.perfield with parameters of type BitsModifier and TypeMethodDescriptionvoidPerFieldKnnVectorsFormat.FieldsReader.search(String field, byte[] target, KnnCollector knnCollector, Bits acceptDocs) voidPerFieldKnnVectorsFormat.FieldsReader.search(String field, float[] target, KnnCollector knnCollector, Bits acceptDocs) -
Uses of Bits in org.apache.lucene.codecs.simpletext
Classes in org.apache.lucene.codecs.simpletext that implement BitsModifier and TypeClassDescription(package private) static classMethods in org.apache.lucene.codecs.simpletext that return BitsModifier and TypeMethodDescriptionSimpleTextLiveDocsFormat.readLiveDocs(Directory dir, SegmentCommitInfo info, IOContext context) Methods in org.apache.lucene.codecs.simpletext with parameters of type BitsModifier and TypeMethodDescriptionvoidSimpleTextKnnVectorsReader.search(String field, byte[] target, KnnCollector knnCollector, Bits acceptDocs) voidSimpleTextKnnVectorsReader.search(String field, float[] target, KnnCollector knnCollector, Bits acceptDocs) voidSimpleTextLiveDocsFormat.writeLiveDocs(Bits bits, Directory dir, SegmentCommitInfo info, int newDelCount, IOContext context) -
Uses of Bits in org.apache.lucene.index
Classes in org.apache.lucene.index that implement BitsModifier and TypeClassDescription(package private) final classExposes a slice of an existing Bits as a new Bits.final classConcatenates multiple Bits together, on every lookup.private static classFields in org.apache.lucene.index declared as BitsModifier and TypeFieldDescription(package private) final BitsMergePolicy.MergeReader.hardLiveDocsprivate final BitsSegmentReader.hardLiveDocsprivate final BitsSortingCodecReader.SortingBits.infinal Bits[]MergeState.liveDocsLive docs for each reader(package private) final BitsMultiSorter.LeafAndDocID.liveDocsprivate BitsPendingDeletes.liveDocsprivate final BitsSegmentReader.liveDocsprivate final BitsSlowCompositeCodecReaderWrapper.liveDocsprivate final BitsBitsSlice.parentprivate final Bits[]MultiBits.subsprivate final BitsFieldUpdatesBuffer.BufferedUpdateIterator.updatesWithValueMethods in org.apache.lucene.index that return BitsModifier and TypeMethodDescription(package private) BitsPendingDeletes.getHardLiveDocs()Returns a snapshot of the hard live docs.(package private) BitsPendingSoftDeletes.getHardLiveDocs()ReadersAndUpdates.getHardLiveDocs()Returns the live-docs bits excluding documents that are not live due to soft-deletesSegmentReader.getHardLiveDocs()Returns the live docs that are not hard-deleted.final BitsDocValuesLeafReader.getLiveDocs()FilterCodecReader.getLiveDocs()FilterLeafReader.getLiveDocs()abstract BitsLeafReader.getLiveDocs()Returns theBitsrepresenting live (not deleted) docs.static BitsMultiBits.getLiveDocs(IndexReader reader) Returns a singleBitsinstance for this reader, merging live Documents on the fly.ParallelLeafReader.getLiveDocs()(package private) BitsPendingDeletes.getLiveDocs()Returns a snapshot of the current live docs.ReadersAndUpdates.getLiveDocs()Returns a snapshot of the live docs.SegmentReader.getLiveDocs()SlowCompositeCodecReaderWrapper.getLiveDocs()SoftDeletesDirectoryReaderWrapper.SoftDeletesFilterCodecReader.getLiveDocs()SoftDeletesDirectoryReaderWrapper.SoftDeletesFilterLeafReader.getLiveDocs()SortingCodecReader.getLiveDocs()Methods in org.apache.lucene.index with parameters of type BitsModifier and TypeMethodDescriptionprivate booleanPendingDeletes.assertCheckLiveDocs(Bits bits, int expectedLength, int expectedDeleteCount) private static booleanSegmentReader.assertLiveDocs(boolean isNRT, Bits hardLiveDocs, Bits liveDocs) private static voidIndexWriter.carryOverHardDeletes(ReadersAndUpdates mergedReadersAndUpdates, int maxDoc, Bits prevHardLiveDocs, Bits currentHardLiveDocs, MergeState.DocMap segDocMap) This method carries over hard-deleted documents that are applied to the source segment during a merge.private static CheckIndex.Status.TermIndexStatusCheckIndex.checkFields(Fields fields, Bits liveDocs, int maxDoc, FieldInfos fieldInfos, NormsProducer normsProducer, boolean doPrint, boolean isVectors, PrintStream infoStream, boolean verbose, boolean doSlowChecks) checks Fields api is consistent with itself.private voidIndexWriter.countSoftDeletes(CodecReader reader, Bits wrappedLiveDocs, Bits hardLiveDocs, Counter softDeleteCounter, Counter hardDeleteCounter) (package private) static intPendingSoftDeletes.countSoftDeletes(DocIdSetIterator softDeletedDocs, Bits hardDeletes) (package private) static PackedLongValuesMergeState.removeDeletes(int maxDoc, Bits liveDocs) voidSlowCompositeCodecReaderWrapper.SlowCompositeKnnVectorsReaderWrapper.search(String field, byte[] target, KnnCollector knnCollector, Bits acceptDocs) voidSlowCompositeCodecReaderWrapper.SlowCompositeKnnVectorsReaderWrapper.search(String field, float[] target, KnnCollector knnCollector, Bits acceptDocs) final voidCodecReader.searchNearestVectors(String field, byte[] target, KnnCollector knnCollector, Bits acceptDocs) final voidCodecReader.searchNearestVectors(String field, float[] target, KnnCollector knnCollector, Bits acceptDocs) voidDocValuesLeafReader.searchNearestVectors(String field, byte[] target, KnnCollector knnCollector, Bits acceptDocs) voidDocValuesLeafReader.searchNearestVectors(String field, float[] target, KnnCollector knnCollector, Bits acceptDocs) voidExitableDirectoryReader.ExitableFilterAtomicReader.searchNearestVectors(String field, byte[] target, KnnCollector knnCollector, Bits acceptDocs) voidExitableDirectoryReader.ExitableFilterAtomicReader.searchNearestVectors(String field, float[] target, KnnCollector knnCollector, Bits acceptDocs) voidFilterLeafReader.searchNearestVectors(String field, byte[] target, KnnCollector knnCollector, Bits acceptDocs) voidFilterLeafReader.searchNearestVectors(String field, float[] target, KnnCollector knnCollector, Bits acceptDocs) final TopDocsLeafReader.searchNearestVectors(String field, byte[] target, int k, Bits acceptDocs, int visitedLimit) Return the k nearest neighbor documents as determined by comparison of their vector values for this field, to the given vector, by the field's similarity function.abstract voidLeafReader.searchNearestVectors(String field, byte[] target, KnnCollector knnCollector, Bits acceptDocs) Return the k nearest neighbor documents as determined by comparison of their vector values for this field, to the given vector, by the field's similarity function.final TopDocsLeafReader.searchNearestVectors(String field, float[] target, int k, Bits acceptDocs, int visitedLimit) Return the k nearest neighbor documents as determined by comparison of their vector values for this field, to the given vector, by the field's similarity function.abstract voidLeafReader.searchNearestVectors(String field, float[] target, KnnCollector knnCollector, Bits acceptDocs) Return the k nearest neighbor documents as determined by comparison of their vector values for this field, to the given vector, by the field's similarity function.voidParallelLeafReader.searchNearestVectors(String fieldName, byte[] target, KnnCollector knnCollector, Bits acceptDocs) voidParallelLeafReader.searchNearestVectors(String fieldName, float[] target, KnnCollector knnCollector, Bits acceptDocs) private FixedBitSetDocumentsWriterPerThread.sortLiveDocs(Bits liveDocs, Sorter.DocMap sortMap) (package private) static FilterCodecReaderFilterCodecReader.wrapLiveDocs(CodecReader reader, Bits liveDocs, int numDocs) Returns a filtered codec reader with the given live docs and numDocs.Constructors in org.apache.lucene.index with parameters of type BitsModifierConstructorDescriptionBitsSlice(Bits parent, ReaderSlice slice) LeafAndDocID(int readerIndex, Bits liveDocs, int maxDoc, int numComparables) (package private)MergeReader(CodecReader reader, Bits hardLiveDocs) (package private)MergeReader(SegmentReader reader, Bits hardLiveDocs) MergeState(MergeState.DocMap[] docMaps, SegmentInfo segmentInfo, FieldInfos mergeFieldInfos, StoredFieldsReader[] storedFieldsReaders, TermVectorsReader[] termVectorsReaders, NormsProducer[] normsProducers, DocValuesProducer[] docValuesProducers, FieldInfos[] fieldInfos, Bits[] liveDocs, FieldsProducer[] fieldsProducers, PointsReader[] pointsReaders, KnnVectorsReader[] knnVectorsReaders, int[] maxDocs, InfoStream infoStream, Executor intraMergeTaskExecutor, boolean needsIndexSort) Create a new merge instance.private(package private)PendingDeletes(SegmentCommitInfo info, Bits liveDocs, boolean liveDocsInitialized) (package private)SegmentReader(SegmentCommitInfo si, SegmentReader sr, Bits liveDocs, Bits hardLiveDocs, int numDocs, boolean isNRT) Create new SegmentReader sharing core from a previous SegmentReader and using the provided liveDocs, and recording whether those liveDocs were carried in ram (isNRT=true).(package private)SortingBits(Bits in, Sorter.DocMap docMap) -
Uses of Bits in org.apache.lucene.index.memory
Methods in org.apache.lucene.index.memory that return BitsMethods in org.apache.lucene.index.memory with parameters of type BitsModifier and TypeMethodDescriptionvoidMemoryIndex.MemoryIndexReader.searchNearestVectors(String field, byte[] target, KnnCollector knnCollector, Bits acceptDocs) voidMemoryIndex.MemoryIndexReader.searchNearestVectors(String field, float[] target, KnnCollector knnCollector, Bits acceptDocs) -
Uses of Bits in org.apache.lucene.misc.index
Fields in org.apache.lucene.misc.index declared as BitsModifier and TypeFieldDescription(package private) final BitsPKIndexSplitter.DocumentFilteredLeafIndexReader.liveDocsMethods in org.apache.lucene.misc.index that return BitsModifier and TypeMethodDescriptionIndexRearranger.DocSelectorFilteredCodecReader.getLiveDocs()MultiPassIndexSplitter.FakeDeleteLeafIndexReader.getLiveDocs()PKIndexSplitter.DocumentFilteredLeafIndexReader.getLiveDocs() -
Uses of Bits in org.apache.lucene.sandbox.codecs.idversion
Fields in org.apache.lucene.sandbox.codecs.idversion declared as BitsConstructors in org.apache.lucene.sandbox.codecs.idversion with parameters of type Bits -
Uses of Bits in org.apache.lucene.sandbox.document
Fields in org.apache.lucene.sandbox.document declared as BitsModifier and TypeFieldDescription(package private) BitsFloatPointNearestNeighbor.NearestVisitor.curLiveDocs -
Uses of Bits in org.apache.lucene.sandbox.search
Fields in org.apache.lucene.sandbox.search declared as Bits -
Uses of Bits in org.apache.lucene.search
Methods in org.apache.lucene.search that return BitsModifier and TypeMethodDescriptionDocIdSet.bits()Optionally provides aBitsinterface for random access to matching documents.Methods in org.apache.lucene.search with parameters of type BitsModifier and TypeMethodDescriptionprotected abstract TopDocsAbstractKnnVectorQuery.approximateSearch(LeafReaderContext context, Bits acceptDocs, int visitedLimit, KnnCollectorManager knnCollectorManager) protected abstract TopDocsAbstractVectorSimilarityQuery.approximateSearch(LeafReaderContext context, Bits acceptDocs, int visitLimit) protected TopDocsByteVectorSimilarityQuery.approximateSearch(LeafReaderContext context, Bits acceptDocs, int visitLimit) protected TopDocsFloatVectorSimilarityQuery.approximateSearch(LeafReaderContext context, Bits acceptDocs, int visitLimit) protected TopDocsKnnByteVectorQuery.approximateSearch(LeafReaderContext context, Bits acceptDocs, int visitedLimit, KnnCollectorManager knnCollectorManager) protected TopDocsKnnFloatVectorQuery.approximateSearch(LeafReaderContext context, Bits acceptDocs, int visitedLimit, KnnCollectorManager knnCollectorManager) private BitSetAbstractKnnVectorQuery.createBitSet(DocIdSetIterator iterator, Bits liveDocs, int maxDoc) intBlockMaxConjunctionBulkScorer.score(LeafCollector collector, Bits acceptDocs, int min, int max) (package private) voidBooleanScorer.BulkScorerAndDoc.score(LeafCollector collector, Bits acceptDocs, int min, int max) intBooleanScorer.score(LeafCollector collector, Bits acceptDocs, int min, int max) voidBulkScorer.score(LeafCollector collector, Bits acceptDocs) Scores and collects all matching documents.abstract intBulkScorer.score(LeafCollector collector, Bits acceptDocs, int min, int max) Collects matching documents in a range and return an estimation of the next matching document which is on or aftermax.intConjunctionBulkScorer.score(LeafCollector collector, Bits acceptDocs, int min, int max) intConstantScoreQuery.ConstantBulkScorer.score(LeafCollector collector, Bits acceptDocs, int min, int max) intMaxScoreBulkScorer.score(LeafCollector collector, Bits acceptDocs, int min, int max) intReqExclBulkScorer.score(LeafCollector collector, Bits acceptDocs, int min, int max) intTimeLimitingBulkScorer.score(LeafCollector collector, Bits acceptDocs, int min, int max) intWeight.DefaultBulkScorer.score(LeafCollector collector, Bits acceptDocs, int min, int max) (package private) static voidWeight.DefaultBulkScorer.scoreAll(LeafCollector collector, DocIdSetIterator iterator, TwoPhaseIterator twoPhase, Bits acceptDocs) Specialized method to bulk-score all hits; we separate this fromWeight.DefaultBulkScorer.scoreRange(org.apache.lucene.search.LeafCollector, org.apache.lucene.search.DocIdSetIterator, org.apache.lucene.search.TwoPhaseIterator, org.apache.lucene.search.DocIdSetIterator, org.apache.lucene.util.Bits, int, int)to help out hotspot.private voidMaxScoreBulkScorer.scoreInnerWindow(LeafCollector collector, Bits acceptDocs, int max) private voidMaxScoreBulkScorer.scoreInnerWindowAsConjunction(LeafCollector collector, Bits acceptDocs, int max) private voidMaxScoreBulkScorer.scoreInnerWindowMultipleEssentialClauses(LeafCollector collector, Bits acceptDocs, int max) private voidMaxScoreBulkScorer.scoreInnerWindowSingleEssentialClause(LeafCollector collector, Bits acceptDocs, int upTo) (package private) static intWeight.DefaultBulkScorer.scoreRange(LeafCollector collector, DocIdSetIterator iterator, TwoPhaseIterator twoPhase, DocIdSetIterator competitiveIterator, Bits acceptDocs, int min, int max) Specialized method to bulk-score a range of hits; we separate this fromWeight.DefaultBulkScorer.scoreAll(org.apache.lucene.search.LeafCollector, org.apache.lucene.search.DocIdSetIterator, org.apache.lucene.search.TwoPhaseIterator, org.apache.lucene.util.Bits)to help out hotspot.private voidBlockMaxConjunctionBulkScorer.scoreWindow(LeafCollector collector, Bits acceptDocs, int min, int max, float maxWindowScore) private BooleanScorer.BulkScorerAndDocBooleanScorer.scoreWindow(BooleanScorer.BulkScorerAndDoc top, LeafCollector collector, Bits acceptDocs, int min, int max) private voidBooleanScorer.scoreWindowIntoBitSetAndReplay(LeafCollector collector, Bits acceptDocs, int base, int min, int max, BooleanScorer.BulkScorerAndDoc[] scorers, int numScorers) private voidBooleanScorer.scoreWindowMultipleScorers(LeafCollector collector, Bits acceptDocs, int windowBase, int windowMin, int windowMax, int maxFreq) private voidBooleanScorer.scoreWindowSingleScorer(BooleanScorer.BulkScorerAndDoc bulkScorer, LeafCollector collector, Bits acceptDocs, int windowMin, int windowMax, int max) -
Uses of Bits in org.apache.lucene.search.grouping
Fields in org.apache.lucene.search.grouping declared as BitsMethods in org.apache.lucene.search.grouping that return BitsModifier and TypeMethodDescriptionGroupingSearch.getAllGroupHeads()Returns the matching group heads ifGroupingSearch.setAllGroupHeads(boolean)was set to true or an empty bit set. -
Uses of Bits in org.apache.lucene.search.highlight
Methods in org.apache.lucene.search.highlight that return BitsMethods in org.apache.lucene.search.highlight with parameters of type BitsModifier and TypeMethodDescriptionvoidTermVectorLeafReader.searchNearestVectors(String field, byte[] target, KnnCollector knnCollector, Bits acceptDocs) voidTermVectorLeafReader.searchNearestVectors(String field, float[] target, KnnCollector knnCollector, Bits acceptDocs) -
Uses of Bits in org.apache.lucene.search.join
Methods in org.apache.lucene.search.join that return BitsModifier and TypeMethodDescriptionstatic BitsReturn aBitsinstance that returns true if, and only if, any of the children of the given parent document has a value.Methods in org.apache.lucene.search.join with parameters of type BitsModifier and TypeMethodDescriptionprotected TopDocsDiversifyingChildrenByteKnnVectorQuery.approximateSearch(LeafReaderContext context, Bits acceptDocs, int visitedLimit, KnnCollectorManager knnCollectorManager) protected TopDocsDiversifyingChildrenFloatKnnVectorQuery.approximateSearch(LeafReaderContext context, Bits acceptDocs, int visitedLimit, KnnCollectorManager knnCollectorManager) static BitsReturn aBitsinstance that returns true if, and only if, any of the children of the given parent document has a value. -
Uses of Bits in org.apache.lucene.search.suggest
Fields in org.apache.lucene.search.suggest declared as BitsModifier and TypeFieldDescriptionprivate final BitsDocumentDictionary.DocumentInputIterator.liveDocsMethods in org.apache.lucene.search.suggest that return BitsModifier and TypeMethodDescriptionabstract BitsBitsProducer.getBits(LeafReaderContext context) ReturnBitsfor the given leaf. -
Uses of Bits in org.apache.lucene.search.suggest.document
Fields in org.apache.lucene.search.suggest.document declared as BitsMethods in org.apache.lucene.search.suggest.document with parameters of type BitsModifier and TypeMethodDescriptionfinal booleanReturns true if a document withdocIDis accepted, false if the docID maps to a deleted document or has been filtered outvoidNRTSuggester.lookup(CompletionScorer scorer, Bits acceptDocs, TopSuggestDocsCollector collector) Collects at mostTopSuggestDocsCollector.getCountToCollect()completions that match the providedCompletionScorer.intCompletionScorer.score(LeafCollector collector, Bits acceptDocs, int min, int max) Constructors in org.apache.lucene.search.suggest.document with parameters of type BitsModifierConstructorDescriptionprotectedCompletionScorer(CompletionWeight weight, NRTSuggester suggester, LeafReader reader, Bits filterDocs, boolean filtered, Automaton automaton) Creates a scorer for a field-specificsuggesterscoped byacceptDocs -
Uses of Bits in org.apache.lucene.util
Classes in org.apache.lucene.util that implement BitsModifier and TypeClassDescriptionstatic classBits impl of the specified length with all bits set.static classBits impl of the specified length with no bits set.classBase implementation for a bit set.(package private) final classImmutable twin of FixedBitSet.final classBitSet of fixed length (numBits), backed by accessible (FixedBitSet.getBits()) long[], accessed with an int index, implementingBitsandDocIdSet.classA bit set that only stores longs that have at least one bit which is set.Fields in org.apache.lucene.util declared as BitsMethods in org.apache.lucene.util that return BitsModifier and TypeMethodDescriptionFixedBitSet.asReadOnlyBits()Convert this instance to read-onlyBits.NotDocIdSet.bits()Methods in org.apache.lucene.util with parameters of type Bits -
Uses of Bits in org.apache.lucene.util.hnsw
Methods in org.apache.lucene.util.hnsw that return BitsModifier and TypeMethodDescriptiondefault BitsRandomAccessVectorValues.getAcceptOrds(Bits acceptDocs) Returns theBitsrepresenting live documents.RandomVectorScorer.AbstractRandomVectorScorer.getAcceptOrds(Bits acceptDocs) default BitsRandomVectorScorer.getAcceptOrds(Bits acceptDocs) Returns theBitsrepresenting live documents.Methods in org.apache.lucene.util.hnsw with parameters of type BitsModifier and TypeMethodDescriptionHnswGraphMerger.addReader(KnnVectorsReader reader, MergeState.DocMap docMap, Bits liveDocs) Adds a reader to the graph merger to record the stateIncrementalHnswGraphMerger.addReader(KnnVectorsReader reader, MergeState.DocMap docMap, Bits liveDocs) Adds a reader to the graph merger if it meets the following criteria: 1.default BitsRandomAccessVectorValues.getAcceptOrds(Bits acceptDocs) Returns theBitsrepresenting live documents.RandomVectorScorer.AbstractRandomVectorScorer.getAcceptOrds(Bits acceptDocs) default BitsRandomVectorScorer.getAcceptOrds(Bits acceptDocs) Returns theBitsrepresenting live documents.private static booleanstatic KnnCollectorHnswGraphSearcher.search(RandomVectorScorer scorer, int topK, OnHeapHnswGraph graph, Bits acceptOrds, int visitedLimit) SearchOnHeapHnswGraph, this method is thread safe.static voidHnswGraphSearcher.search(RandomVectorScorer scorer, KnnCollector knnCollector, HnswGraph graph, Bits acceptOrds) Searches HNSW graph for the nearest neighbors of a query vector.private static voidHnswGraphSearcher.search(RandomVectorScorer scorer, KnnCollector knnCollector, HnswGraph graph, HnswGraphSearcher graphSearcher, Bits acceptOrds) (package private) voidHnswGraphSearcher.searchLevel(KnnCollector results, RandomVectorScorer scorer, int level, int[] eps, HnswGraph graph, Bits acceptOrds) Add the closest neighbors found to a priority queue (heap).