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.
Lucene 10.2 file format.
Lucene 9.9 file format.
Code to maintain and access indices.
-
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 *static voidKnnVectorsWriter.mapOldOrdToNewOrd(DocsWithFieldSet oldDocIds, Sorter.DocMap sortMap, int[] old2NewOrd, int[] new2OldOrd, DocsWithFieldSet newDocsWithField) Given old doc ids and an id mapping, maps old ordinal to new ordinal. -
Uses of Sorter.DocMap in org.apache.lucene.codecs.lucene102
Methods in org.apache.lucene.codecs.lucene102 with parameters of type Sorter.DocMapModifier and TypeMethodDescriptionvoidLucene102BinaryQuantizedVectorsWriter.flush(int maxDoc, Sorter.DocMap sortMap) -
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) -
Uses of Sorter.DocMap in org.apache.lucene.index
Methods in org.apache.lucene.index that return Sorter.DocMapModifier and TypeMethodDescriptionMergePolicy.OneMerge.reorder(CodecReader reader, Directory dir, Executor executor) Extend this method if you wish to renumber doc IDs.Methods in org.apache.lucene.index with parameters of type Sorter.DocMapModifier and TypeMethodDescriptionstatic org.apache.lucene.index.SortingCodecReader.SortingIteratorSupplierSortingCodecReader.iteratorSupplier(KnnVectorValues values, Sorter.DocMap docMap) Creates a factory for SortingValuesIterator.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.