Uses of Class
org.apache.lucene.index.Sorter.DocMap
Packages that use Sorter.DocMap
-
Uses of Sorter.DocMap in org.apache.lucene.index
Fields in org.apache.lucene.index declared as Sorter.DocMapModifier and TypeFieldDescriptionprivate final Sorter.DocMap
FreqProxTermsWriter.SortingTerms.docMap
(package private) final Sorter.DocMap
FreqProxTermsWriter.SortingTermsEnum.docMap
private final Sorter.DocMap
PointValuesWriter.MutableSortingPointValues.docMap
(package private) final Sorter.DocMap
SortingCodecReader.docMap
private final Sorter.DocMap
SortingCodecReader.SortingBits.docMap
private final Sorter.DocMap
SortingCodecReader.SortingIntersectVisitor.docMap
private final Sorter.DocMap
SortingCodecReader.SortingPointTree.docMap
private final Sorter.DocMap
SortingCodecReader.SortingPointValues.docMap
(package private) final Sorter.DocMap
DocumentsWriterPerThread.FlushedSegment.sortMap
(package private) Sorter.DocMap
ReadersAndUpdates.sortMap
Methods in org.apache.lucene.index that return Sorter.DocMapModifier and TypeMethodDescription(package private) Sorter.DocMap
IndexingChain.flush
(SegmentWriteState state) private Sorter.DocMap
IndexingChain.maybeSortSegment
(SegmentWriteState state) private static Sorter.DocMap
Sorter.sort
(int maxDoc, IndexSorter.DocComparator comparator) Computes the old-to-new permutation over the given comparator.(package private) Sorter.DocMap
Sorter.sort
(int maxDoc, IndexSorter.DocComparator[] comparators) (package private) Sorter.DocMap
Sorter.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 TypeMethodDescriptionvoid
BinaryDocValuesWriter.flush
(SegmentWriteState state, Sorter.DocMap sortMap, DocValuesConsumer dvConsumer) (package private) abstract void
DocValuesWriter.flush
(SegmentWriteState state, Sorter.DocMap sortMap, DocValuesConsumer consumer) void
FreqProxTermsWriter.flush
(Map<String, TermsHashPerField> fieldsToFlush, SegmentWriteState state, Sorter.DocMap sortMap, NormsProducer norms) void
NormValuesWriter.flush
(SegmentWriteState state, Sorter.DocMap sortMap, NormsConsumer normsConsumer) void
NumericDocValuesWriter.flush
(SegmentWriteState state, Sorter.DocMap sortMap, DocValuesConsumer dvConsumer) void
PointValuesWriter.flush
(SegmentWriteState state, Sorter.DocMap sortMap, PointsWriter writer) void
SortedDocValuesWriter.flush
(SegmentWriteState state, Sorter.DocMap sortMap, DocValuesConsumer dvConsumer) void
SortedNumericDocValuesWriter.flush
(SegmentWriteState state, Sorter.DocMap sortMap, DocValuesConsumer dvConsumer) void
SortedSetDocValuesWriter.flush
(SegmentWriteState state, Sorter.DocMap sortMap, DocValuesConsumer dvConsumer) (package private) void
SortingStoredFieldsConsumer.flush
(SegmentWriteState state, Sorter.DocMap sortMap) (package private) void
SortingTermVectorsConsumer.flush
(Map<String, TermsHashPerField> fieldsToFlush, SegmentWriteState state, Sorter.DocMap sortMap, NormsProducer norms) (package private) void
StoredFieldsConsumer.flush
(SegmentWriteState state, Sorter.DocMap sortMap) (package private) void
TermsHash.flush
(Map<String, TermsHashPerField> fieldsToFlush, SegmentWriteState state, Sorter.DocMap sortMap, NormsProducer norms) (package private) void
TermVectorsConsumer.flush
(Map<String, TermsHashPerField> fieldsToFlush, SegmentWriteState state, Sorter.DocMap sortMap, NormsProducer norms) void
VectorValuesWriter.flush
(Sorter.DocMap sortMap, KnnVectorsWriter knnVectorsWriter) Flush this field's values to storage, sorting the values in accordance with sortMap(package private) static boolean
Sorter.isConsistent
(Sorter.DocMap docMap) Check consistency of aSorter.DocMap
, useful for assertions.private void
IndexWriter.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) void
DocumentsWriterPerThread.sealFlushedSegment
(DocumentsWriterPerThread.FlushedSegment flushedSegment, Sorter.DocMap sortMap, DocumentsWriter.FlushNotifications flushNotifications) Seals theSegmentInfo
for the new flushed segment and persists the deleted documentsFixedBitSet
.(package private) static NumericDocValuesWriter.NumericDVs
NumericDocValuesWriter.sortDocValues
(int maxDoc, Sorter.DocMap sortMap, NumericDocValues oldDocValues) private int[]
SortedDocValuesWriter.sortDocValues
(int maxDoc, Sorter.DocMap sortMap, SortedDocValues oldValues) private FixedBitSet
DocumentsWriterPerThread.sortLiveDocs
(Bits liveDocs, Sorter.DocMap sortMap) (package private) static CodecReader
SortingCodecReader.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 void
IndexingChain.writeDocValues
(SegmentWriteState state, Sorter.DocMap sortMap) Writes all buffered doc values (called fromIndexingChain.flush(org.apache.lucene.index.SegmentWriteState)
).private void
IndexingChain.writeNorms
(SegmentWriteState state, Sorter.DocMap sortMap) private void
IndexingChain.writePoints
(SegmentWriteState state, Sorter.DocMap sortMap) Writes all buffered points.private void
IndexingChain.writeVectors
(SegmentWriteState state, Sorter.DocMap sortMap) Writes all buffered vectors.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) private
FlushedSegment
(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) private
SortingCodecReader
(CodecReader in, Sorter.DocMap docMap, LeafMetaData metaData) (package private)
SortingDocsEnum
(int maxDoc, FreqProxTermsWriter.SortingDocsEnum reuse, PostingsEnum in, boolean withFreqs, Sorter.DocMap docMap) (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)
SortingPostingsEnum
(int maxDoc, FreqProxTermsWriter.SortingPostingsEnum reuse, PostingsEnum in, Sorter.DocMap docMap, boolean storeOffsets) (package private)
SortingTerms
(Terms in, IndexOptions indexOptions, Sorter.DocMap docMap) (package private)
SortingTermsEnum
(TermsEnum in, Sorter.DocMap docMap, IndexOptions indexOptions, boolean hasPositions) (package private)
SortingVectorValues
(VectorValues delegate, Sorter.DocMap sortMap)