Uses of Class
org.apache.lucene.index.Sorter.DocMap
Packages that use Sorter.DocMap
Package
Description
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
HNSW vector helper classes.
Lucene 9.9 file format.
Postings format that can delegate to different formats per-field.
Code to maintain and access indices.
Misc index tools and index support.
-
Uses of Sorter.DocMap in org.apache.lucene.codecs
Methods in org.apache.lucene.codecs with parameters of type Sorter.DocMapModifier and TypeMethodDescriptionvoidBufferingKnnVectorsWriter.flush(int maxDoc, Sorter.DocMap sortMap) abstract voidKnnVectorsWriter.flush(int maxDoc, Sorter.DocMap sortMap) Flush all buffered data on disk *Constructors in org.apache.lucene.codecs with parameters of type Sorter.DocMapModifierConstructorDescription(package private)SortingByteVectorValues(BufferingKnnVectorsWriter.BufferedByteVectorValues delegate, Sorter.DocMap sortMap) (package private)SortingFloatVectorValues(BufferingKnnVectorsWriter.BufferedFloatVectorValues delegate, Sorter.DocMap sortMap) -
Uses of Sorter.DocMap in org.apache.lucene.codecs.bitvectors
Methods in org.apache.lucene.codecs.bitvectors with parameters of type Sorter.DocMapModifier and TypeMethodDescriptionvoidHnswBitVectorsFormat.FlatBitVectorsWriter.flush(int maxDoc, Sorter.DocMap sortMap) -
Uses of Sorter.DocMap in org.apache.lucene.codecs.hnsw
Methods in org.apache.lucene.codecs.hnsw with parameters of type Sorter.DocMapModifier and TypeMethodDescriptionabstract voidFlatVectorsWriter.flush(int maxDoc, Sorter.DocMap sortMap) Flush all buffered data on disk * -
Uses of Sorter.DocMap in org.apache.lucene.codecs.lucene99
Methods in org.apache.lucene.codecs.lucene99 with parameters of type Sorter.DocMapModifier and TypeMethodDescriptionvoidLucene99FlatVectorsWriter.flush(int maxDoc, Sorter.DocMap sortMap) voidLucene99HnswVectorsWriter.flush(int maxDoc, Sorter.DocMap sortMap) voidLucene99ScalarQuantizedVectorsWriter.flush(int maxDoc, Sorter.DocMap sortMap) private voidLucene99FlatVectorsWriter.writeSortingField(Lucene99FlatVectorsWriter.FieldWriter<?> fieldData, int maxDoc, Sorter.DocMap sortMap) private voidLucene99HnswVectorsWriter.writeSortingField(Lucene99HnswVectorsWriter.FieldWriter<?> fieldData, Sorter.DocMap sortMap) private voidLucene99ScalarQuantizedVectorsWriter.writeSortingField(Lucene99ScalarQuantizedVectorsWriter.FieldWriter fieldData, int maxDoc, Sorter.DocMap sortMap) -
Uses of Sorter.DocMap in org.apache.lucene.codecs.perfield
Methods in org.apache.lucene.codecs.perfield with parameters of type Sorter.DocMapModifier and TypeMethodDescriptionvoidPerFieldKnnVectorsFormat.FieldsWriter.flush(int maxDoc, Sorter.DocMap sortMap) -
Uses of Sorter.DocMap in org.apache.lucene.index
Fields in org.apache.lucene.index declared as Sorter.DocMapModifier and TypeFieldDescriptionprivate final Sorter.DocMapFreqProxTermsWriter.SortingTerms.docMap(package private) final Sorter.DocMapFreqProxTermsWriter.SortingTermsEnum.docMapprivate final Sorter.DocMapPointValuesWriter.MutableSortingPointValues.docMap(package private) final Sorter.DocMapSortingCodecReader.docMapprivate final Sorter.DocMapSortingCodecReader.SortingBits.docMapprivate final Sorter.DocMapSortingCodecReader.SortingIntersectVisitor.docMapprivate final Sorter.DocMapSortingCodecReader.SortingPointTree.docMapprivate final Sorter.DocMapSortingCodecReader.SortingPointValues.docMap(package private) final Sorter.DocMapDocumentsWriterPerThread.FlushedSegment.sortMap(package private) Sorter.DocMapReadersAndUpdates.sortMapMethods in org.apache.lucene.index that return Sorter.DocMapModifier and TypeMethodDescription(package private) Sorter.DocMapIndexingChain.flush(SegmentWriteState state) private Sorter.DocMapIndexingChain.maybeSortSegment(SegmentWriteState state) MergePolicy.OneMerge.reorder(CodecReader reader, Directory dir) Extend this method if you wish to renumber doc IDs.private static Sorter.DocMapSorter.sort(int maxDoc, IndexSorter.DocComparator comparator) Computes the old-to-new permutation over the given comparator.(package private) Sorter.DocMapSorter.sort(int maxDoc, IndexSorter.DocComparator[] comparators) (package private) Sorter.DocMapSorter.sort(LeafReader reader) Returns a mapping from the old document ID to its new location in the sorted index.Methods in org.apache.lucene.index with parameters of type Sorter.DocMapModifier and TypeMethodDescriptionvoidBinaryDocValuesWriter.flush(SegmentWriteState state, Sorter.DocMap sortMap, DocValuesConsumer dvConsumer) (package private) abstract voidDocValuesWriter.flush(SegmentWriteState state, Sorter.DocMap sortMap, DocValuesConsumer consumer) voidFreqProxTermsWriter.flush(Map<String, TermsHashPerField> fieldsToFlush, SegmentWriteState state, Sorter.DocMap sortMap, NormsProducer norms) voidNormValuesWriter.flush(SegmentWriteState state, Sorter.DocMap sortMap, NormsConsumer normsConsumer) voidNumericDocValuesWriter.flush(SegmentWriteState state, Sorter.DocMap sortMap, DocValuesConsumer dvConsumer) voidPointValuesWriter.flush(SegmentWriteState state, Sorter.DocMap sortMap, PointsWriter writer) voidSortedDocValuesWriter.flush(SegmentWriteState state, Sorter.DocMap sortMap, DocValuesConsumer dvConsumer) voidSortedNumericDocValuesWriter.flush(SegmentWriteState state, Sorter.DocMap sortMap, DocValuesConsumer dvConsumer) voidSortedSetDocValuesWriter.flush(SegmentWriteState state, Sorter.DocMap sortMap, DocValuesConsumer dvConsumer) (package private) voidSortingStoredFieldsConsumer.flush(SegmentWriteState state, Sorter.DocMap sortMap) (package private) voidSortingTermVectorsConsumer.flush(Map<String, TermsHashPerField> fieldsToFlush, SegmentWriteState state, Sorter.DocMap sortMap, NormsProducer norms) (package private) voidStoredFieldsConsumer.flush(SegmentWriteState state, Sorter.DocMap sortMap) (package private) voidTermsHash.flush(Map<String, TermsHashPerField> fieldsToFlush, SegmentWriteState state, Sorter.DocMap sortMap, NormsProducer norms) (package private) voidTermVectorsConsumer.flush(Map<String, TermsHashPerField> fieldsToFlush, SegmentWriteState state, Sorter.DocMap sortMap, NormsProducer norms) (package private) voidVectorValuesConsumer.flush(SegmentWriteState state, Sorter.DocMap sortMap) (package private) static DocValuesProducerNumericDocValuesWriter.getDocValuesProducer(FieldInfo writerFieldInfo, PackedLongValues values, DocsWithFieldSet docsWithField, Sorter.DocMap sortMap) (package private) static DocValuesProducerSortedDocValuesWriter.getDocValuesProducer(FieldInfo writerFieldInfo, BytesRefHash hash, PackedLongValues ords, int[] sortedValues, int[] ordMap, DocsWithFieldSet docsWithField, Sorter.DocMap sortMap) (package private) static booleanSorter.isConsistent(Sorter.DocMap docMap) Check consistency of aSorter.DocMap, useful for assertions.private voidIndexWriter.publishFlushedSegment(SegmentCommitInfo newSegment, FieldInfos fieldInfos, FrozenBufferedUpdates packet, FrozenBufferedUpdates globalPacket, Sorter.DocMap sortMap) Atomically adds the segment private delete packet and publishes the flushed segments SegmentInfo to the index writer.(package private) voidFreqProxTermsWriter.SortingDocsEnum.reset(Sorter.DocMap docMap, PostingsEnum in) (package private) voidFreqProxTermsWriter.SortingPostingsEnum.reset(Sorter.DocMap docMap, PostingsEnum in, boolean storePositions, boolean storeOffsets) (package private) voidDocumentsWriterPerThread.sealFlushedSegment(DocumentsWriterPerThread.FlushedSegment flushedSegment, Sorter.DocMap sortMap, DocumentsWriter.FlushNotifications flushNotifications) Seals theSegmentInfofor the new flushed segment and persists the deleted documentsFixedBitSet.(package private) static NumericDocValuesWriter.NumericDVsNumericDocValuesWriter.sortDocValues(int maxDoc, Sorter.DocMap sortMap, NumericDocValues oldDocValues, boolean dense) private static int[]SortedDocValuesWriter.sortDocValues(int maxDoc, Sorter.DocMap sortMap, SortedDocValues oldValues) private FixedBitSetDocumentsWriterPerThread.sortLiveDocs(Bits liveDocs, Sorter.DocMap sortMap) static CodecReaderSortingCodecReader.wrap(CodecReader reader, Sorter.DocMap docMap, Sort sort) Expert: same asSortingCodecReader.wrap(org.apache.lucene.index.CodecReader, Sort)but operates directly on aSorter.DocMap.private voidIndexingChain.writeDocValues(SegmentWriteState state, Sorter.DocMap sortMap) Writes all buffered doc values (called fromIndexingChain.flush(org.apache.lucene.index.SegmentWriteState)).private voidIndexingChain.writeNorms(SegmentWriteState state, Sorter.DocMap sortMap) private voidIndexingChain.writePoints(SegmentWriteState state, Sorter.DocMap sortMap) Writes all buffered points.Constructors in org.apache.lucene.index with parameters of type Sorter.DocMapModifierConstructorDescription(package private)BinaryDVs(int maxDoc, Sorter.DocMap sortMap, BinaryDocValues oldValues) (package private)DocOrds(int maxDoc, Sorter.DocMap sortMap, SortedSetDocValues oldValues, float acceptableOverheadRatio, int bitsPerValue) privateFlushedSegment(InfoStream infoStream, SegmentCommitInfo segmentInfo, FieldInfos fieldInfos, BufferedUpdates segmentUpdates, FixedBitSet liveDocs, int delCount, Sorter.DocMap sortMap) (package private)LongValues(int maxDoc, Sorter.DocMap sortMap, SortedNumericDocValues oldValues, float acceptableOverheadRatio) MutableSortingPointValues(MutablePointTree in, Sorter.DocMap docMap) (package private)SortingBits(Bits in, Sorter.DocMap docMap) (package private)SortingByteVectorValues(ByteVectorValues delegate, Sorter.DocMap sortMap) privateSortingCodecReader(CodecReader in, Sorter.DocMap docMap, LeafMetaData metaData) (package private)SortingFloatVectorValues(FloatVectorValues delegate, Sorter.DocMap sortMap) (package private)SortingIntersectVisitor(Sorter.DocMap docMap) (package private)SortingPointTree(PointValues.PointTree indexTree, Sorter.DocMap docMap) (package private)SortingPointValues(PointValues in, Sorter.DocMap docMap) (package private)SortingTerms(Terms in, IndexOptions indexOptions, Sorter.DocMap docMap) (package private)SortingTermsEnum(TermsEnum in, Sorter.DocMap docMap, IndexOptions indexOptions) -
Uses of Sorter.DocMap in org.apache.lucene.misc.index
Methods in org.apache.lucene.misc.index that return Sorter.DocMapModifier and TypeMethodDescriptionBPIndexReorderer.computeDocMap(CodecReader reader, Directory tempDir) Expert: Compute theSorter.DocMapthat holds the new doc ID numbering.