Uses of Interface
org.apache.lucene.util.Bits
-
Packages that use Bits Package Description org.apache.lucene.analysis.util Utility functions for text analysis.org.apache.lucene.codecs Codecs API: API for customization of the encoding and structure of the index.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.lucene50 Components from the Lucene 5.0 index format Seeorg.apache.lucene.codecs.lucene80for 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.document The logical representation of aDocumentfor indexing and searching.org.apache.lucene.index Code to maintain and access indices.org.apache.lucene.index.memory High-performance single-document main memory Apache Lucene fulltext search index.org.apache.lucene.search Code to search indices.org.apache.lucene.search.grouping Grouping.org.apache.lucene.search.highlight Highlighting search terms.org.apache.lucene.search.join Support for index-time and query-time joins.org.apache.lucene.search.suggest Support for Autocomplete/Autosuggestorg.apache.lucene.search.suggest.document Support for document suggestionorg.apache.lucene.util Some utility classes. -
-
Uses of Bits in org.apache.lucene.analysis.util
Fields in org.apache.lucene.analysis.util declared as Bits Modifier and Type Field Description static BitsUnicodeProps. WHITESPACEBitset with Unicode WHITESPACE code points.Methods in org.apache.lucene.analysis.util that return Bits Modifier and Type Method Description private static BitsUnicodeProps. createBits(int... codepoints) -
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.idversion
Fields in org.apache.lucene.codecs.idversion declared as Bits Modifier and Type Field Description private BitsIDVersionPostingsWriter. liveDocsConstructors in org.apache.lucene.codecs.idversion with parameters of type Bits Constructor Description IDVersionPostingsWriter(Bits liveDocs) -
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.codecs.memory
Fields in org.apache.lucene.codecs.memory declared as Bits Modifier and Type Field Description private BitsLegacyBinaryDocValuesWrapper. docsWithFieldDeprecated.private BitsLegacyNumericDocValuesWrapper. docsWithFieldDeprecated.Methods in org.apache.lucene.codecs.memory that return Bits Modifier and Type Method Description private BitsDirectDocValuesProducer. getMissingBits(FieldInfo field, long offset, long length)Constructors in org.apache.lucene.codecs.memory with parameters of type Bits Constructor Description LegacyBinaryDocValuesWrapper(Bits docsWithField, LegacyBinaryDocValues values)Deprecated.LegacyNumericDocValuesWrapper(Bits docsWithField, LegacyNumericDocValues values)Deprecated. -
Uses of Bits in org.apache.lucene.codecs.simpletext
Classes in org.apache.lucene.codecs.simpletext that implement Bits Modifier and Type Class Description (package private) static classSimpleTextLiveDocsFormat.SimpleTextBitsMethods in org.apache.lucene.codecs.simpletext that return Bits Modifier and Type Method Description BitsSimpleTextLiveDocsFormat. readLiveDocs(Directory dir, SegmentCommitInfo info, IOContext context)Methods in org.apache.lucene.codecs.simpletext with parameters of type Bits Modifier and Type Method Description voidSimpleTextLiveDocsFormat. writeLiveDocs(Bits bits, Directory dir, SegmentCommitInfo info, int newDelCount, IOContext context) -
Uses of Bits in org.apache.lucene.document
Fields in org.apache.lucene.document declared as Bits Modifier and Type Field Description (package private) BitsFloatPointNearestNeighbor.NearestVisitor. curLiveDocs -
Uses of Bits in org.apache.lucene.index
Classes in org.apache.lucene.index that implement Bits Modifier and Type Class Description (package private) classBitsSliceExposes a slice of an existing Bits as a new Bits.classMultiBitsConcatenates multiple Bits together, on every lookup.private static classSortingCodecReader.SortingBitsFields in org.apache.lucene.index declared as Bits Modifier and Type Field Description (package private) BitsMergePolicy.MergeReader. hardLiveDocsprivate BitsSegmentReader. hardLiveDocsprivate BitsSortingCodecReader.SortingBits. inBits[]MergeState. liveDocsLive docs for each reader(package private) BitsMultiSorter.LeafAndDocID. liveDocsprivate BitsPendingDeletes. liveDocs(package private) BitsPKIndexSplitter.DocumentFilteredLeafIndexReader. liveDocsprivate BitsSegmentReader. liveDocsprivate BitsBitsSlice. parentprivate Bits[]MultiBits. subsprivate BitsFieldUpdatesBuffer.BufferedUpdateIterator. updatesWithValueMethods in org.apache.lucene.index that return Bits Modifier and Type Method Description (package private) BitsPendingDeletes. getHardLiveDocs()Returns a snapshot of the hard live docs.(package private) BitsPendingSoftDeletes. getHardLiveDocs()BitsReadersAndUpdates. getHardLiveDocs()Returns the live-docs bits excluding documents that are not live due to soft-deletesBitsSegmentReader. getHardLiveDocs()Returns the live docs that are not hard-deleted.BitsDocValuesLeafReader. getLiveDocs()BitsFilterCodecReader. getLiveDocs()BitsFilterLeafReader. getLiveDocs()abstract BitsLeafReader. getLiveDocs()Returns theBitsrepresenting live (not deleted) docs.BitsMergeReaderWrapper. getLiveDocs()static BitsMultiBits. getLiveDocs(IndexReader reader)Returns a singleBitsinstance for this reader, merging live Documents on the fly.BitsMultiPassIndexSplitter.FakeDeleteLeafIndexReader. getLiveDocs()BitsParallelLeafReader. getLiveDocs()(package private) BitsPendingDeletes. getLiveDocs()Returns a snapshot of the current live docs.BitsPKIndexSplitter.DocumentFilteredLeafIndexReader. getLiveDocs()BitsReadersAndUpdates. getLiveDocs()Returns a snapshot of the live docs.BitsSegmentReader. getLiveDocs()BitsSoftDeletesDirectoryReaderWrapper.SoftDeletesFilterCodecReader. getLiveDocs()BitsSoftDeletesDirectoryReaderWrapper.SoftDeletesFilterLeafReader. getLiveDocs()BitsSortingCodecReader. getLiveDocs()Methods in org.apache.lucene.index with parameters of type Bits Modifier and Type Method Description private 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 mergeLiveDocs, Bits prevHardLiveDocs, Bits currentHardLiveDocs, MergeState.DocMap segDocMap, MergeState.DocMap segLeafDocMap)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, java.io.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)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 Bits Constructor Description BitsSlice(Bits parent, ReaderSlice slice)LeafAndDocID(int readerIndex, Bits liveDocs, int maxDoc, int numComparables)MergeReader(SegmentReader reader, Bits hardLiveDocs)MultiBits(Bits[] subs, int[] starts, boolean defaultValue)PendingDeletes(SegmentCommitInfo info, Bits liveDocs, boolean liveDocsInitialized)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).SortingBits(Bits in, Sorter.DocMap docMap) -
Uses of Bits in org.apache.lucene.index.memory
Methods in org.apache.lucene.index.memory that return Bits Modifier and Type Method Description BitsMemoryIndex.MemoryIndexReader. getLiveDocs() -
Uses of Bits in org.apache.lucene.search
Fields in org.apache.lucene.search declared as Bits Modifier and Type Field Description BitsNearestNeighbor.NearestVisitor. curLiveDocsMethods 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 (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.intConstantScoreQuery.ConstantBulkScorer. score(LeafCollector collector, Bits acceptDocs, int min, int max)intReqExclBulkScorer. 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.util.Bits, int, int)to help out hotspot.(package private) static intWeight.DefaultBulkScorer. scoreRange(LeafCollector collector, DocIdSetIterator iterator, TwoPhaseIterator twoPhase, Bits acceptDocs, int currentDoc, int end)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 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 Bits Modifier and Type Field Description private BitsGroupingSearch. matchingGroupHeadsMethods in org.apache.lucene.search.grouping that return Bits Modifier and Type Method Description BitsGroupingSearch. 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 Bits Modifier and Type Method Description BitsTermVectorLeafReader. getLiveDocs() -
Uses of Bits in org.apache.lucene.search.join
Methods in org.apache.lucene.search.join that return Bits Modifier and Type Method Description static BitsBlockJoinSelector. wrap(Bits docsWithValue, BitSet parents, BitSet children)Return 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 Bits Modifier and Type Method Description static BitsBlockJoinSelector. wrap(Bits docsWithValue, BitSet parents, BitSet children)Return 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 Bits Modifier and Type Field Description private BitsDocumentDictionary.DocumentInputIterator. liveDocsMethods 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
Fields in org.apache.lucene.search.suggest.document declared as Bits Modifier and Type Field Description private BitsCompletionScorer. filterDocsMethods 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.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.(package private) classFixedBitsImmutable twin of FixedBitSet.classFixedBitSetBitSet 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.
-