Uses of Class
org.apache.lucene.index.CodecReader
-
Packages that use CodecReader Package Description org.apache.lucene.index Code to maintain and access indices. -
-
Uses of CodecReader in org.apache.lucene.index
Subclasses of CodecReader in org.apache.lucene.index Modifier and Type Class Description classFilterCodecReaderAFilterCodecReadercontains another CodecReader, which it uses as its basic source of data, possibly transforming the data along the way or providing additional functionality.classSegmentReaderIndexReader implementation over a single segment.classSortingCodecReaderAnCodecReaderwhich supports sorting documents by a givenSort.Fields in org.apache.lucene.index declared as CodecReader Modifier and Type Field Description protected CodecReaderFilterCodecReader. inThe underlying CodecReader instance.Methods in org.apache.lucene.index that return CodecReader Modifier and Type Method Description CodecReaderFilterCodecReader. getDelegate()Returns the wrappedCodecReader.static CodecReaderFilterCodecReader. unwrap(CodecReader reader)Get the wrapped instance byreaderas long as this reader is an instance ofFilterCodecReader.static CodecReaderSlowCodecReaderWrapper. wrap(LeafReader reader)Returns aCodecReaderview of reader.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.static CodecReaderSortingCodecReader. wrap(CodecReader reader, Sort sort)Return a sorted view ofreaderaccording to the order defined bysort.CodecReaderMergePolicy.OneMerge. wrapForMerge(CodecReader reader)Wrap a reader prior to merging in order to add/remove fields or documents.Methods in org.apache.lucene.index with parameters of type CodecReader Modifier and Type Method Description longIndexWriter. addIndexes(CodecReader... readers)Merges the provided indexes into this index.MergePolicy.MergeSpecificationFilterMergePolicy. findMerges(CodecReader... readers)MergePolicy.MergeSpecificationMergePolicy. findMerges(CodecReader... readers)Define the set of merge operations to perform on provided codec readers inIndexWriter.addIndexes(CodecReader...).MergePolicy.MergeSpecificationNoMergePolicy. findMerges(CodecReader... readers)Sorter.DocMapMergePolicy.OneMerge. reorder(CodecReader reader, Directory dir, Executor executor)Extend this method if you wish to renumber doc IDs.static CheckIndex.Status.DocValuesStatusCheckIndex. testDocValues(CodecReader reader, PrintStream infoStream, boolean failFast)Test docvalues.static CheckIndex.Status.FieldInfoStatusCheckIndex. testFieldInfos(CodecReader reader, PrintStream infoStream, boolean failFast)Test field infos.static CheckIndex.Status.FieldNormStatusCheckIndex. testFieldNorms(CodecReader reader, PrintStream infoStream, boolean failFast)Test field norms.static CheckIndex.Status.LiveDocStatusCheckIndex. testLiveDocs(CodecReader reader, PrintStream infoStream, boolean failFast)Test live docs.static CheckIndex.Status.PointsStatusCheckIndex. testPoints(CodecReader reader, PrintStream infoStream, boolean failFast)Test the points index.static CheckIndex.Status.TermIndexStatusCheckIndex. testPostings(CodecReader reader, PrintStream infoStream)Test the term index.static CheckIndex.Status.TermIndexStatusCheckIndex. testPostings(CodecReader reader, PrintStream infoStream, boolean verbose, boolean doSlowChecks, boolean failFast)Test the term index.static CheckIndex.Status.IndexSortStatusCheckIndex. testSort(CodecReader reader, Sort sort, PrintStream infoStream, boolean failFast)Tests index sort order.static CheckIndex.Status.StoredFieldStatusCheckIndex. testStoredFields(CodecReader reader, PrintStream infoStream, boolean failFast)Test stored fields.static CheckIndex.Status.TermVectorStatusCheckIndex. testTermVectors(CodecReader reader, PrintStream infoStream)Test term vectors.static CheckIndex.Status.TermVectorStatusCheckIndex. testTermVectors(CodecReader reader, PrintStream infoStream, boolean verbose, boolean doSlowChecks, boolean failFast)Test term vectors.static CheckIndex.Status.VectorValuesStatusCheckIndex. testVectors(CodecReader reader, PrintStream infoStream, boolean failFast)Test the vectors index.static CodecReaderFilterCodecReader. unwrap(CodecReader reader)Get the wrapped instance byreaderas long as this reader is an instance ofFilterCodecReader.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.static CodecReaderSortingCodecReader. wrap(CodecReader reader, Sort sort)Return a sorted view ofreaderaccording to the order defined bysort.CodecReaderMergePolicy.OneMerge. wrapForMerge(CodecReader reader)Wrap a reader prior to merging in order to add/remove fields or documents.Method parameters in org.apache.lucene.index with type arguments of type CodecReader Modifier and Type Method Description booleanFilterMergePolicy. keepFullyDeletedSegment(IOSupplier<CodecReader> readerIOSupplier)booleanMergePolicy. keepFullyDeletedSegment(IOSupplier<CodecReader> readerIOSupplier)Returns true if the segment represented by the given CodecReader should be keep even if it's fully deleted.booleanNoMergePolicy. keepFullyDeletedSegment(IOSupplier<CodecReader> readerIOSupplier)booleanSoftDeletesRetentionMergePolicy. keepFullyDeletedSegment(IOSupplier<CodecReader> readerIOSupplier)intFilterMergePolicy. numDeletesToMerge(SegmentCommitInfo info, int delCount, IOSupplier<CodecReader> readerSupplier)intMergePolicy. numDeletesToMerge(SegmentCommitInfo info, int delCount, IOSupplier<CodecReader> readerSupplier)Returns the number of deletes that a merge would claim on the given segment.intNoMergePolicy. numDeletesToMerge(SegmentCommitInfo info, int delCount, IOSupplier<CodecReader> readerSupplier)intSoftDeletesRetentionMergePolicy. numDeletesToMerge(SegmentCommitInfo info, int delCount, IOSupplier<CodecReader> readerSupplier)Constructors in org.apache.lucene.index with parameters of type CodecReader Constructor Description FilterCodecReader(CodecReader in)Creates a new FilterCodecReader.OneMerge(CodecReader... codecReaders)Create a OneMerge directly from CodecReaders.
-