Uses of Class
org.apache.lucene.index.CodecReader
Packages that use CodecReader
-
Uses of CodecReader in org.apache.lucene.index
Subclasses of CodecReader in org.apache.lucene.indexModifier and TypeClassDescriptionclassAFilterCodecReadercontains another CodecReader, which it uses as its basic source of data, possibly transforming the data along the way or providing additional functionality.final classIndexReader implementation over a single segment.final classAnCodecReaderwhich supports sorting documents by a givenSort.Fields in org.apache.lucene.index declared as CodecReaderModifier and TypeFieldDescriptionprotected final CodecReaderFilterCodecReader.inThe underlying CodecReader instance.Methods in org.apache.lucene.index that return CodecReaderModifier and TypeMethodDescriptionFilterCodecReader.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, Sort sort) Return a sorted view ofreaderaccording to the order defined bysort.MergePolicy.OneMerge.wrapForMerge(CodecReader reader) Wrap the reader in order to add/remove information to the merged segment.Methods in org.apache.lucene.index with parameters of type CodecReaderModifier and TypeMethodDescriptionlongIndexWriter.addIndexes(CodecReader... readers) Merges the provided indexes into this index.CheckIndex.testDocValues(CodecReader reader, PrintStream infoStream, boolean failFast) Test docvalues.CheckIndex.testFieldInfos(CodecReader reader, PrintStream infoStream, boolean failFast) Test field infos.CheckIndex.testFieldNorms(CodecReader reader, PrintStream infoStream, boolean failFast) Test field norms.CheckIndex.testLiveDocs(CodecReader reader, PrintStream infoStream, boolean failFast) Test live docs.CheckIndex.testPoints(CodecReader reader, PrintStream infoStream, boolean failFast) Test the points indexCheckIndex.testPostings(CodecReader reader, PrintStream infoStream) Test the term index.CheckIndex.testPostings(CodecReader reader, PrintStream infoStream, boolean verbose, boolean doSlowChecks, boolean failFast) Test the term index.CheckIndex.testSort(CodecReader reader, Sort sort, PrintStream infoStream, boolean failFast) Tests index sort order.CheckIndex.testStoredFields(CodecReader reader, PrintStream infoStream, boolean failFast) Test stored fields.CheckIndex.testTermVectors(CodecReader reader, PrintStream infoStream) Test term vectors.CheckIndex.testTermVectors(CodecReader reader, PrintStream infoStream, boolean verbose, boolean doSlowChecks, boolean failFast) Test term vectors.CheckIndex.testVectors(CodecReader reader, PrintStream infoStream, boolean failFast) Test the vectors indexstatic CodecReaderFilterCodecReader.unwrap(CodecReader reader) Get the wrapped instance byreaderas long as this reader is an instance ofFilterCodecReader.static CodecReaderSortingCodecReader.wrap(CodecReader reader, Sort sort) Return a sorted view ofreaderaccording to the order defined bysort.MergePolicy.OneMerge.wrapForMerge(CodecReader reader) Wrap the reader in order to add/remove information to the merged segment.Method parameters in org.apache.lucene.index with type arguments of type CodecReaderModifier and TypeMethodDescriptionbooleanFilterMergePolicy.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