Uses of Interface
org.apache.lucene.util.Bits
-
-
Uses of Bits in org.apache.lucene.codecs
Methods in org.apache.lucene.codecs that return Bits Modifier and Type Method Description abstract BitsLiveDocsFormat. readLiveDocs(Directory dir, SegmentCommitInfo info, IOContext context)Read live docs bits.Methods in org.apache.lucene.codecs with parameters of type Bits Modifier and Type Method Description 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.lucene50
Methods in org.apache.lucene.codecs.lucene50 that return Bits Modifier and Type Method Description BitsLucene50LiveDocsFormat. readLiveDocs(Directory dir, SegmentCommitInfo info, IOContext context)Methods in org.apache.lucene.codecs.lucene50 with parameters of type Bits Modifier and Type Method Description voidLucene50LiveDocsFormat. writeLiveDocs(Bits bits, Directory dir, SegmentCommitInfo info, int newDelCount, IOContext context) -
Uses of Bits in org.apache.lucene.index
Fields in org.apache.lucene.index declared as Bits Modifier and Type Field Description Bits[]MergeState. liveDocsLive docs for each readerMethods in org.apache.lucene.index that return Bits Modifier and Type Method Description BitsSegmentReader. getHardLiveDocs()Returns the live docs that are not hard-deleted.BitsFilterCodecReader. getLiveDocs()BitsFilterLeafReader. getLiveDocs()abstract BitsLeafReader. getLiveDocs()Returns theBitsrepresenting live (not deleted) docs.BitsSegmentReader. getLiveDocs() -
Uses of Bits in org.apache.lucene.search
Methods in org.apache.lucene.search that return Bits Modifier and Type Method Description BitsDocIdSet. bits()Optionally provides aBitsinterface for random access to matching documents.Methods in org.apache.lucene.search with parameters of type Bits Modifier and Type Method Description 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.intConstantScoreQuery.ConstantBulkScorer. score(LeafCollector collector, Bits acceptDocs, int min, int max)intWeight.DefaultBulkScorer. score(LeafCollector collector, Bits acceptDocs, int min, int max) -
Uses of Bits in org.apache.lucene.search.highlight
Methods in org.apache.lucene.search.highlight that return Bits Modifier and Type Method Description BitsTermVectorLeafReader. getLiveDocs() -
Uses of Bits in org.apache.lucene.search.suggest
Methods in org.apache.lucene.search.suggest that return Bits Modifier and Type Method Description abstract BitsBitsProducer. getBits(LeafReaderContext context)ReturnBitsfor the given leaf. -
Uses of Bits in org.apache.lucene.search.suggest.document
Methods in org.apache.lucene.search.suggest.document with parameters of type Bits Modifier and Type Method Description booleanCompletionScorer. accept(int docID, Bits liveDocs)Returns 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 Bits Constructor Description CompletionScorer(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.spatial.prefix
Methods in org.apache.lucene.spatial.prefix with parameters of type Bits Modifier and Type Method Description static HeatmapFacetCounter.HeatmapHeatmapFacetCounter. calcFacets(PrefixTreeStrategy strategy, IndexReaderContext context, Bits topAcceptDocs, Shape inputShape, int facetLevel, int maxCells)Calculates spatial 2D facets (aggregated counts) in a grid, sometimes called a heatmap.HeatmapFacetCounter.HeatmapPrefixTreeStrategy. calcFacets(IndexReaderContext context, Bits topAcceptDocs, Shape inputShape, int facetLevel, int maxCells)Computes spatial facets in two dimensions as a grid of numbers.static voidPrefixTreeFacetCounter. compute(PrefixTreeStrategy strategy, IndexReaderContext context, Bits topAcceptDocs, Shape queryShape, int facetLevel, PrefixTreeFacetCounter.FacetVisitor facetVisitor)Computes facets using a callback/visitor style design, allowing flexibility for the caller to determine what to do with each underlying count.static voidPrefixTreeFacetCounter. compute(PrefixTreeStrategy strategy, LeafReaderContext context, Bits acceptDocs, Shape queryShape, int facetLevel, PrefixTreeFacetCounter.FacetVisitor facetVisitor)Lower-level per-leaf segment method. -
Uses of Bits in org.apache.lucene.util
Classes in org.apache.lucene.util that implement Bits Modifier and Type Class Description static classBits.MatchAllBitsBits impl of the specified length with all bits set.static classBits.MatchNoBitsBits impl of the specified length with no bits set.classBitSetBase implementation for a bit set.classCombinedBitSetclassFixedBitSetBitSet of fixed length (numBits), backed by accessible (FixedBitSet.getBits()) long[], accessed with an int index, implementingBitsandDocIdSet.classSparseFixedBitSetA bit set that only stores longs that have at least one bit which is set.Fields in org.apache.lucene.util declared as Bits Modifier and Type Field Description static Bits[]Bits. EMPTY_ARRAYMethods in org.apache.lucene.util that return Bits Modifier and Type Method Description BitsFixedBitSet. asReadOnlyBits()Convert this instance to read-onlyBits.BitsNotDocIdSet. bits()Methods in org.apache.lucene.util with parameters of type Bits Modifier and Type Method Description static FixedBitSetFixedBitSet. copyOf(Bits bits)Make a copy of the given bits.Constructors in org.apache.lucene.util with parameters of type Bits Constructor Description CombinedBitSet(BitSet first, Bits second) -
Uses of Bits in org.elasticsearch.common.lucene
Methods in org.elasticsearch.common.lucene that return Bits Modifier and Type Method Description static BitsLucene. asSequentialAccessBits(int maxDoc, ScorerSupplier scorerSupplier)Return aBitsview of the provided scorer.static BitsLucene. asSequentialAccessBits(int maxDoc, ScorerSupplier scorerSupplier, long estimatedGetCount)Given aScorerSupplier, return aBitsinstance that will match all documents contained in the set.
-