Uses of Class
org.apache.lucene.store.IndexInput
-
Packages that use IndexInput Package Description org.apache.lucene.codecs Codecs API: API for customization of the encoding and structure of the index.org.apache.lucene.codecs.blockterms Pluggable term index / block terms dictionary implementations.org.apache.lucene.codecs.blocktree BlockTree terms dictionary.org.apache.lucene.codecs.blocktreeords Same postings format as Lucene50, except the terms dictionary also supports ords, i.e.org.apache.lucene.codecs.compressing StoredFieldsFormat that allows cross-document and cross-field compression of stored fields.org.apache.lucene.codecs.idversion A primary-key postings format that associates a version (long) with each term and can provide fail-fast lookups by ID and version.org.apache.lucene.codecs.lucene50 Components from the Lucene 5.0 index format Seeorg.apache.lucene.codecs.lucene80for an overview of the index format.org.apache.lucene.codecs.lucene60 Components from the Lucene 6.0 index format.org.apache.lucene.codecs.lucene70 Components from the Lucene 7.0 index format.org.apache.lucene.codecs.lucene80 Components from the Lucene 8.0 index format Seeorg.apache.lucene.codecs.lucene84for an overview of the index format.org.apache.lucene.codecs.lucene84 Components from the Lucene 8.4 index format.org.apache.lucene.codecs.lucene86 Lucene 8.6 file format.org.apache.lucene.codecs.memory Term dictionary, DocValues or Postings formats that are read entirely into memory.org.apache.lucene.codecs.simpletext Simpletext Codec: writes human readable postings.org.apache.lucene.codecs.uniformsplit Pluggable term index / block terms dictionary implementations.org.apache.lucene.codecs.uniformsplit.sharedterms Pluggable term index / block terms dictionary implementations.org.apache.lucene.index Code to maintain and access indices.org.apache.lucene.search.suggest.document Support for document suggestionorg.apache.lucene.store Binary i/o API, used for all index data.org.apache.lucene.util Some utility classes.org.apache.lucene.util.bkd Block KD-tree, implementing the generic spatial data structure described in this paper.org.apache.lucene.util.fst Finite state transducersorg.apache.lucene.util.packed Packed integer arrays and streams. -
-
Uses of IndexInput in org.apache.lucene.codecs
Subclasses of IndexInput in org.apache.lucene.codecs Modifier and Type Class Description private static classMultiLevelSkipListReader.SkipBufferused to buffer the top skip levelsFields in org.apache.lucene.codecs declared as IndexInput Modifier and Type Field Description private IndexInput[]MultiLevelSkipListReader. skipStreamskipStream for each level.Methods in org.apache.lucene.codecs that return IndexInput Modifier and Type Method Description IndexInputMultiLevelSkipListReader.SkipBuffer. slice(java.lang.String sliceDescription, long offset, long length)Methods in org.apache.lucene.codecs with parameters of type IndexInput Modifier and Type Method Description static longCodecUtil. checksumEntireFile(IndexInput input)Clones the provided input, reads all bytes from the file, and callsCodecUtil.checkFooter(org.apache.lucene.store.ChecksumIndexInput)abstract voidPostingsReaderBase. init(IndexInput termsIn, SegmentReadState state)Performs any initialization, such as reading and verifying the header from the provided terms dictionaryIndexInput.(package private) static longCodecUtil. readCRC(IndexInput input)Reads CRC32 value as a 64-bit long from the input.static byte[]CodecUtil. readFooter(IndexInput in)Retrieves the full footer from the providedIndexInput.static byte[]CodecUtil. readIndexHeader(IndexInput in)Retrieves the full index header from the providedIndexInput.protected abstract intMultiLevelSkipListReader. readSkipData(int level, IndexInput skipStream)Subclasses must implement the actual skip data encoding in this method.static longCodecUtil. retrieveChecksum(IndexInput in)Returns (but does not validate) the checksum previously written byCodecUtil.checkFooter(org.apache.lucene.store.ChecksumIndexInput).static longCodecUtil. retrieveChecksum(IndexInput in, long expectedLength)Returns (but does not validate) the checksum previously written byCodecUtil.checkFooter(org.apache.lucene.store.ChecksumIndexInput).private static voidCodecUtil. validateFooter(IndexInput in)static voidCodecUtil. verifyAndCopyIndexHeader(IndexInput in, DataOutput out, byte[] expectedID)Expert: verifies the incomingIndexInputhas an index header and that its segment ID matches the expected one, and then copies that index header into the providedDataOutput.Constructors in org.apache.lucene.codecs with parameters of type IndexInput Constructor Description MultiLevelSkipListReader(IndexInput skipStream, int maxSkipLevels, int skipInterval)Creates aMultiLevelSkipListReader, whereskipIntervalandskipMultiplierare the same.MultiLevelSkipListReader(IndexInput skipStream, int maxSkipLevels, int skipInterval, int skipMultiplier)Creates aMultiLevelSkipListReader.SkipBuffer(IndexInput input, int length) -
Uses of IndexInput in org.apache.lucene.codecs.blockterms
Fields in org.apache.lucene.codecs.blockterms declared as IndexInput Modifier and Type Field Description private IndexInputBlockTermsReader.FieldReader.SegmentTermsEnum. inprivate IndexInputBlockTermsReader. inMethods in org.apache.lucene.codecs.blockterms with parameters of type IndexInput Modifier and Type Method Description private voidBlockTermsReader. seekDir(IndexInput input)private voidFixedGapTermsIndexReader. seekDir(IndexInput input)private voidVariableGapTermsIndexReader. seekDir(IndexInput input)Constructors in org.apache.lucene.codecs.blockterms with parameters of type IndexInput Constructor Description FieldIndexData(IndexInput in, PagedBytes termBytes, long indexStart, long termsStart, long packedIndexStart, long packedOffsetsStart, long numIndexTerms)FieldIndexData(IndexInput in, FieldInfo fieldInfo, long indexStart) -
Uses of IndexInput in org.apache.lucene.codecs.blocktree
Fields in org.apache.lucene.codecs.blocktree declared as IndexInput Modifier and Type Field Description (package private) IndexInputIntersectTermsEnum. in(package private) IndexInputSegmentTermsEnum. in(package private) IndexInputBlockTreeTermsReader. indexIn(package private) IndexInputBlockTreeTermsReader. termsInMethods in org.apache.lucene.codecs.blocktree with parameters of type IndexInput Modifier and Type Method Description private static BytesRefBlockTreeTermsReader. readBytesRef(IndexInput in)private static voidBlockTreeTermsReader. seekDir(IndexInput input)Seekinputto the directory offset.Constructors in org.apache.lucene.codecs.blocktree with parameters of type IndexInput Constructor Description FieldReader(BlockTreeTermsReader parent, FieldInfo fieldInfo, long numTerms, BytesRef rootCode, long sumTotalTermFreq, long sumDocFreq, int docCount, long indexStartFP, IndexInput metaIn, IndexInput indexIn, BytesRef minTerm, BytesRef maxTerm) -
Uses of IndexInput in org.apache.lucene.codecs.blocktreeords
Fields in org.apache.lucene.codecs.blocktreeords declared as IndexInput Modifier and Type Field Description (package private) IndexInputOrdsBlockTreeTermsReader. in(package private) IndexInputOrdsIntersectTermsEnum. in(package private) IndexInputOrdsSegmentTermsEnum. inMethods in org.apache.lucene.codecs.blocktreeords with parameters of type IndexInput Modifier and Type Method Description private static BytesRefOrdsBlockTreeTermsReader. readBytesRef(IndexInput in)private voidOrdsBlockTreeTermsReader. seekDir(IndexInput input)Seekinputto the directory offset.Constructors in org.apache.lucene.codecs.blocktreeords with parameters of type IndexInput Constructor Description OrdsFieldReader(OrdsBlockTreeTermsReader parent, FieldInfo fieldInfo, long numTerms, FSTOrdsOutputs.Output rootCode, long sumTotalTermFreq, long sumDocFreq, int docCount, long indexStartFP, IndexInput indexIn, BytesRef minTerm, BytesRef maxTerm) -
Uses of IndexInput in org.apache.lucene.codecs.compressing
Fields in org.apache.lucene.codecs.compressing declared as IndexInput Modifier and Type Field Description private IndexInputCompressingStoredFieldsReader. fieldsStreamprivate IndexInputFieldsIndexReader. indexInput(package private) IndexInputCompressingTermVectorsReader. vectorsStreamMethods in org.apache.lucene.codecs.compressing that return IndexInput Modifier and Type Method Description (package private) IndexInputCompressingStoredFieldsReader. getFieldsStream()(package private) IndexInputCompressingTermVectorsReader. getVectorsStream()Constructors in org.apache.lucene.codecs.compressing with parameters of type IndexInput Constructor Description FieldsIndexReader(Directory dir, java.lang.String name, java.lang.String suffix, java.lang.String extension, java.lang.String codecName, byte[] id, IndexInput metaIn)LegacyFieldsIndexReader(IndexInput fieldsIndexIn, SegmentInfo si) -
Uses of IndexInput in org.apache.lucene.codecs.idversion
Fields in org.apache.lucene.codecs.idversion declared as IndexInput Modifier and Type Field Description (package private) IndexInputIDVersionSegmentTermsEnum. in(package private) IndexInputVersionBlockTreeTermsReader. inMethods in org.apache.lucene.codecs.idversion with parameters of type IndexInput Modifier and Type Method Description voidIDVersionPostingsReader. init(IndexInput termsIn, SegmentReadState state)private static BytesRefVersionBlockTreeTermsReader. readBytesRef(IndexInput in)private voidVersionBlockTreeTermsReader. seekDir(IndexInput input)Seekinputto the directory offset.Constructors in org.apache.lucene.codecs.idversion with parameters of type IndexInput Constructor Description VersionFieldReader(VersionBlockTreeTermsReader parent, FieldInfo fieldInfo, long numTerms, PairOutputs.Pair<BytesRef,java.lang.Long> rootCode, long sumTotalTermFreq, long sumDocFreq, int docCount, long indexStartFP, IndexInput indexIn, BytesRef minTerm, BytesRef maxTerm) -
Uses of IndexInput in org.apache.lucene.codecs.lucene50
Fields in org.apache.lucene.codecs.lucene50 declared as IndexInput Modifier and Type Field Description (package private) IndexInputLucene50PostingsReader.BlockDocsEnum. docIn(package private) IndexInputLucene50PostingsReader.BlockImpactsEverythingEnum. docIn(package private) IndexInputLucene50PostingsReader.BlockImpactsPostingsEnum. docInprivate IndexInputLucene50PostingsReader. docIn(package private) IndexInputLucene50PostingsReader.EverythingEnum. docInprivate IndexInputLucene50CompoundReader. handle(package private) IndexInputLucene50PostingsReader.BlockImpactsEverythingEnum. payIn(package private) IndexInputLucene50PostingsReader.EverythingEnum. payInprivate IndexInputLucene50PostingsReader. payIn(package private) IndexInputLucene50PostingsReader.BlockImpactsEverythingEnum. posIn(package private) IndexInputLucene50PostingsReader.BlockImpactsPostingsEnum. posIn(package private) IndexInputLucene50PostingsReader.EverythingEnum. posInprivate IndexInputLucene50PostingsReader. posIn(package private) IndexInputLucene50PostingsReader.BlockDocsEnum. startDocIn(package private) IndexInputLucene50PostingsReader.EverythingEnum. startDocInMethods in org.apache.lucene.codecs.lucene50 that return IndexInput Modifier and Type Method Description IndexInputLucene50CompoundReader. openInput(java.lang.String name, IOContext context)Methods in org.apache.lucene.codecs.lucene50 with parameters of type IndexInput Modifier and Type Method Description booleanLucene50PostingsReader.BlockDocsEnum. canReuse(IndexInput docIn, FieldInfo fieldInfo)booleanLucene50PostingsReader.EverythingEnum. canReuse(IndexInput docIn, FieldInfo fieldInfo)private static DocValuesTypeLucene50FieldInfosFormat. getDocValuesType(IndexInput input, byte b)private static IndexOptionsLucene50FieldInfosFormat. getIndexOptions(IndexInput input, byte b)voidLucene50PostingsReader. init(IndexInput termsIn, SegmentReadState state)(package private) voidForUtil. readBlock(IndexInput in, byte[] encoded, int[] decoded)Read the next block of data (Forformat).protected voidLucene50ScoreSkipReader. readImpacts(int level, IndexInput skipStream)protected voidLucene50SkipReader. readImpacts(int level, IndexInput skipStream)protected intLucene50SkipReader. readSkipData(int level, IndexInput skipStream)(package private) static voidLucene50PostingsReader. readVIntBlock(IndexInput docIn, int[] docBuffer, int[] freqBuffer, int num, boolean indexHasFreq)Read values that have been written using variable-length encoding instead of bit-packing.(package private) voidForUtil. skipBlock(IndexInput in)Skip the next block of data.Constructors in org.apache.lucene.codecs.lucene50 with parameters of type IndexInput Constructor Description Lucene50ScoreSkipReader(int version, IndexInput skipStream, int maxSkipLevels, boolean hasPos, boolean hasOffsets, boolean hasPayloads)Lucene50SkipReader(int version, IndexInput skipStream, int maxSkipLevels, boolean hasPos, boolean hasOffsets, boolean hasPayloads) -
Uses of IndexInput in org.apache.lucene.codecs.lucene60
Fields in org.apache.lucene.codecs.lucene60 declared as IndexInput Modifier and Type Field Description (package private) IndexInputLucene60PointsReader. dataInMethods in org.apache.lucene.codecs.lucene60 with parameters of type IndexInput Modifier and Type Method Description private static DocValuesTypeLucene60FieldInfosFormat. getDocValuesType(IndexInput input, byte b)private static IndexOptionsLucene60FieldInfosFormat. getIndexOptions(IndexInput input, byte b) -
Uses of IndexInput in org.apache.lucene.codecs.lucene70
Fields in org.apache.lucene.codecs.lucene70 declared as IndexInput Modifier and Type Field Description (package private) IndexInputLucene70DocValuesProducer.TermsDict. bytes(package private) IndexInputLucene70DocValuesProducer.BaseSortedDocValues. data(package private) IndexInputLucene70DocValuesProducer.BaseSortedSetDocValues. dataprivate IndexInputLucene70DocValuesProducer. dataprivate IndexInputLucene70NormsProducer. data(package private) IndexInputLucene70DocValuesProducer.TermsDict. indexBytesprivate IndexInputIndexedDISI. sliceThe slice that stores theDocIdSetIterator.Fields in org.apache.lucene.codecs.lucene70 with type parameters of type IndexInput Modifier and Type Field Description private java.util.Map<java.lang.Integer,IndexInput>Lucene70NormsProducer. disiInputsMethods in org.apache.lucene.codecs.lucene70 that return IndexInput Modifier and Type Method Description private IndexInputLucene70NormsProducer. getDisiInput(FieldInfo field, Lucene70NormsProducer.NormsEntry entry)private IndexInputLucene70NormsProducer. getDisiInput2(FieldInfo field, Lucene70NormsProducer.NormsEntry entry)Methods in org.apache.lucene.codecs.lucene70 with parameters of type IndexInput Modifier and Type Method Description private voidLucene70NormsProducer. readFields(IndexInput meta, FieldInfos infos)Constructors in org.apache.lucene.codecs.lucene70 with parameters of type IndexInput Constructor Description BaseSortedDocValues(Lucene70DocValuesProducer.SortedEntry entry, IndexInput data)BaseSortedSetDocValues(Lucene70DocValuesProducer.SortedSetEntry entry, IndexInput data)IndexedDISI(IndexInput slice, long cost)IndexedDISI(IndexInput in, long offset, long length, long cost)TermsDict(Lucene70DocValuesProducer.TermsDictEntry entry, IndexInput data) -
Uses of IndexInput in org.apache.lucene.codecs.lucene80
Fields in org.apache.lucene.codecs.lucene80 declared as IndexInput Modifier and Type Field Description (package private) IndexInputLucene80DocValuesProducer.TermsDict. bytesprivate IndexInputLucene80DocValuesProducer.BinaryDecoder. compressedData(package private) IndexInputLucene80DocValuesProducer.BaseSortedDocValues. data(package private) IndexInputLucene80DocValuesProducer.BaseSortedSetDocValues. dataprivate IndexInputLucene80DocValuesProducer. dataprivate IndexInputLucene80NormsProducer. data(package private) IndexInputLucene80DocValuesProducer.TermsDict. indexBytes(package private) IndexInputIndexedDISI. sliceThe slice that stores theDocIdSetIterator.Fields in org.apache.lucene.codecs.lucene80 with type parameters of type IndexInput Modifier and Type Field Description private java.util.Map<java.lang.Integer,IndexInput>Lucene80NormsProducer. disiInputsMethods in org.apache.lucene.codecs.lucene80 that return IndexInput Modifier and Type Method Description static IndexInputIndexedDISI. createBlockSlice(IndexInput slice, java.lang.String sliceDescription, long offset, long length, int jumpTableEntryCount)Helper method for usingIndexedDISI(IndexInput, RandomAccessInput, int, byte, long).private IndexInputLucene80NormsProducer. getDisiInput(FieldInfo field, Lucene80NormsProducer.NormsEntry entry)Methods in org.apache.lucene.codecs.lucene80 with parameters of type IndexInput Modifier and Type Method Description static IndexInputIndexedDISI. createBlockSlice(IndexInput slice, java.lang.String sliceDescription, long offset, long length, int jumpTableEntryCount)Helper method for usingIndexedDISI(IndexInput, RandomAccessInput, int, byte, long).static RandomAccessInputIndexedDISI. createJumpTable(IndexInput slice, long offset, long length, int jumpTableEntryCount)Helper method for usingIndexedDISI(IndexInput, RandomAccessInput, int, byte, long).private Lucene80DocValuesProducer.BinaryEntryLucene80DocValuesProducer. readBinary(IndexInput meta, boolean compressed)private voidLucene80NormsProducer. readFields(IndexInput meta, FieldInfos infos)Constructors in org.apache.lucene.codecs.lucene80 with parameters of type IndexInput Constructor Description BaseSortedDocValues(Lucene80DocValuesProducer.SortedEntry entry, IndexInput data)BaseSortedSetDocValues(Lucene80DocValuesProducer.SortedSetEntry entry, IndexInput data)BinaryDecoder(LongValues addresses, IndexInput compressedData, int biggestUncompressedBlockSize, int docsPerChunkShift)IndexedDISI(IndexInput in, long offset, long length, int jumpTableEntryCount, byte denseRankPower, long cost)This constructor always creates a new blockSlice and a new jumpTable from in, to ensure that operations are independent from the caller.IndexedDISI(IndexInput blockSlice, RandomAccessInput jumpTable, int jumpTableEntryCount, byte denseRankPower, long cost)This constructor allows to pass the slice and jumpTable directly in case it helps reuse.TermsDict(Lucene80DocValuesProducer.TermsDictEntry entry, IndexInput data) -
Uses of IndexInput in org.apache.lucene.codecs.lucene84
Fields in org.apache.lucene.codecs.lucene84 declared as IndexInput Modifier and Type Field Description (package private) IndexInputLucene84PostingsReader.BlockDocsEnum. docIn(package private) IndexInputLucene84PostingsReader.BlockImpactsDocsEnum. docIn(package private) IndexInputLucene84PostingsReader.BlockImpactsEverythingEnum. docIn(package private) IndexInputLucene84PostingsReader.BlockImpactsPostingsEnum. docInprivate IndexInputLucene84PostingsReader. docIn(package private) IndexInputLucene84PostingsReader.EverythingEnum. docIn(package private) IndexInputLucene84PostingsReader.BlockImpactsEverythingEnum. payIn(package private) IndexInputLucene84PostingsReader.EverythingEnum. payInprivate IndexInputLucene84PostingsReader. payIn(package private) IndexInputLucene84PostingsReader.BlockImpactsEverythingEnum. posIn(package private) IndexInputLucene84PostingsReader.BlockImpactsPostingsEnum. posIn(package private) IndexInputLucene84PostingsReader.EverythingEnum. posInprivate IndexInputLucene84PostingsReader. posIn(package private) IndexInputLucene84PostingsReader.BlockDocsEnum. startDocIn(package private) IndexInputLucene84PostingsReader.EverythingEnum. startDocInMethods in org.apache.lucene.codecs.lucene84 with parameters of type IndexInput Modifier and Type Method Description booleanLucene84PostingsReader.BlockDocsEnum. canReuse(IndexInput docIn, FieldInfo fieldInfo)booleanLucene84PostingsReader.EverythingEnum. canReuse(IndexInput docIn, FieldInfo fieldInfo)voidLucene84PostingsReader. init(IndexInput termsIn, SegmentReadState state)protected voidLucene84ScoreSkipReader. readImpacts(int level, IndexInput skipStream)protected voidLucene84SkipReader. readImpacts(int level, IndexInput skipStream)protected intLucene84SkipReader. readSkipData(int level, IndexInput skipStream)(package private) static voidLucene84PostingsReader. readVIntBlock(IndexInput docIn, long[] docBuffer, long[] freqBuffer, int num, boolean indexHasFreq)Read values that have been written using variable-length encoding instead of bit-packing.Constructors in org.apache.lucene.codecs.lucene84 with parameters of type IndexInput Constructor Description Lucene84ScoreSkipReader(IndexInput skipStream, int maxSkipLevels, boolean hasPos, boolean hasOffsets, boolean hasPayloads)Lucene84SkipReader(IndexInput skipStream, int maxSkipLevels, boolean hasPos, boolean hasOffsets, boolean hasPayloads) -
Uses of IndexInput in org.apache.lucene.codecs.lucene86
Fields in org.apache.lucene.codecs.lucene86 declared as IndexInput Modifier and Type Field Description (package private) IndexInputLucene86PointsReader. dataIn(package private) IndexInputLucene86PointsReader. indexIn -
Uses of IndexInput in org.apache.lucene.codecs.memory
Fields in org.apache.lucene.codecs.memory declared as IndexInput Modifier and Type Field Description private IndexInputDirectDocValuesProducer. dataMethods in org.apache.lucene.codecs.memory with parameters of type IndexInput Modifier and Type Method Description private voidFSTTermsReader. checkFieldSummary(SegmentInfo info, IndexInput in, FSTTermsReader.TermsReader field, FSTTermsReader.TermsReader previous)private DirectDocValuesProducer.BinaryEntryDirectDocValuesProducer. readBinaryEntry(IndexInput meta)private intDirectDocValuesProducer. readFields(IndexInput meta, FieldInfos infos)private DirectDocValuesProducer.NumericEntryDirectDocValuesProducer. readNumericEntry(IndexInput meta)private DirectDocValuesProducer.SortedEntryDirectDocValuesProducer. readSortedEntry(IndexInput meta)private DirectDocValuesProducer.SortedNumericEntryDirectDocValuesProducer. readSortedNumericEntry(IndexInput meta, boolean singleton)private DirectDocValuesProducer.SortedSetEntryDirectDocValuesProducer. readSortedSetEntry(IndexInput meta, boolean singleton)private voidFSTTermsReader. seekDir(IndexInput in)Constructors in org.apache.lucene.codecs.memory with parameters of type IndexInput Constructor Description TermsReader(FieldInfo fieldInfo, IndexInput in, long numTerms, long sumTotalTermFreq, long sumDocFreq, int docCount) -
Uses of IndexInput in org.apache.lucene.codecs.simpletext
Fields in org.apache.lucene.codecs.simpletext declared as IndexInput Modifier and Type Field Description (package private) IndexInputSimpleTextDocValuesReader. dataprivate IndexInputSimpleTextPointsReader. dataIn(package private) IndexInputSimpleTextBKDReader. in(package private) IndexInputSimpleTextBKDReader.IntersectState. inprivate IndexInputSimpleTextFieldsReader. inprivate IndexInputSimpleTextFieldsReader.SimpleTextDocsEnum. inprivate IndexInputSimpleTextFieldsReader.SimpleTextPostingsEnum. inprivate IndexInputSimpleTextStoredFieldsReader. inprivate IndexInputSimpleTextTermVectorsReader. inprivate IndexInputSimpleTextFieldsReader.SimpleTextDocsEnum. inStartprivate IndexInputSimpleTextFieldsReader.SimpleTextPostingsEnum. inStartMethods in org.apache.lucene.codecs.simpletext with parameters of type IndexInput Modifier and Type Method Description booleanSimpleTextFieldsReader.SimpleTextDocsEnum. canReuse(IndexInput in)booleanSimpleTextFieldsReader.SimpleTextPostingsEnum. canReuse(IndexInput in)private voidSimpleTextBKDReader. readCommonPrefixes(int[] commonPrefixLengths, byte[] scratchPackedValue, IndexInput in)private intSimpleTextBKDReader. readCompressedDim(IndexInput in)(package private) intSimpleTextBKDReader. readDocIDs(IndexInput in, long blockFP, int[] docIDs)private java.util.TreeMap<java.lang.String,java.lang.Long>SimpleTextFieldsReader. readFields(IndexInput in)private voidSimpleTextBKDReader. readLine(IndexInput in, BytesRefBuilder scratch)private voidSimpleTextPointsReader. readLine(IndexInput in)private voidSimpleTextBKDReader. visitCompressedDocValues(int[] commonPrefixLengths, byte[] scratchPackedValue, IndexInput in, int[] docIDs, int count, PointValues.IntersectVisitor visitor, int compressedDim)(package private) voidSimpleTextBKDReader. visitDocIDs(IndexInput in, long blockFP, PointValues.IntersectVisitor visitor)(package private) voidSimpleTextBKDReader. visitDocValues(int[] commonPrefixLengths, byte[] scratchPackedValue, IndexInput in, int[] docIDs, int count, PointValues.IntersectVisitor visitor)Constructors in org.apache.lucene.codecs.simpletext with parameters of type IndexInput Constructor Description IntersectState(IndexInput in, int numDims, int packedBytesLength, int maxPointsInLeafNode, PointValues.IntersectVisitor visitor)SimpleTextBKDReader(IndexInput in, int numDims, int numIndexDims, int maxPointsInLeafNode, int bytesPerDim, long[] leafBlockFPs, byte[] splitPackedValues, byte[] minPackedValue, byte[] maxPackedValue, long pointCount, int docCount)SimpleTextStoredFieldsReader(long[] offsets, IndexInput in, FieldInfos fieldInfos)SimpleTextTermVectorsReader(long[] offsets, IndexInput in) -
Uses of IndexInput in org.apache.lucene.codecs.uniformsplit
Fields in org.apache.lucene.codecs.uniformsplit declared as IndexInput Modifier and Type Field Description protected IndexInputBlockReader. blockInputIndexInputon theblock file.protected IndexInputUniformSplitTerms. blockInputprotected IndexInputUniformSplitTermsReader. blockInputprotected IndexInputFSTDictionary.BrowserSupplier. dictionaryInputprotected IndexInputUniformSplitTermsReader. dictionaryInputMethods in org.apache.lucene.codecs.uniformsplit with parameters of type IndexInput Modifier and Type Method Description protected IndexDictionary.BrowserSupplierUniformSplitTermsReader. createDictionaryBrowserSupplier(SegmentReadState state, IndexInput dictionaryInput, FieldMetadata fieldMetadata, BlockDecoder blockDecoder, boolean dictionaryOnHeap)protected voidUniformSplitTermsReader. fillFieldMap(PostingsReaderBase postingsReader, SegmentReadState state, BlockDecoder blockDecoder, boolean dictionaryOnHeap, IndexInput dictionaryInput, IndexInput blockInput, java.util.Collection<FieldMetadata> fieldMetadataCollection, FieldInfos fieldInfos)protected java.util.Collection<FieldMetadata>UniformSplitTermsReader. readFieldsMetadata(IndexInput indexInput, BlockDecoder blockDecoder, FieldInfos fieldInfos, FieldMetadata.Serializer fieldMetadataReader, int maxNumDocs)protected voidUniformSplitTermsReader. seekFieldsMetadata(IndexInput indexInput)Positions the givenIndexInputat the beginning of the fields metadata.Constructors in org.apache.lucene.codecs.uniformsplit with parameters of type IndexInput Constructor Description BlockReader(IndexDictionary.BrowserSupplier dictionaryBrowserSupplier, IndexInput blockInput, PostingsReaderBase postingsReader, FieldMetadata fieldMetadata, BlockDecoder blockDecoder)BrowserSupplier(IndexInput dictionaryInput, long dictionaryStartFP, BlockDecoder blockDecoder, boolean isFSTOnHeap)IntersectBlockReader(CompiledAutomaton compiled, BytesRef startTerm, IndexDictionary.BrowserSupplier dictionaryBrowserSupplier, IndexInput blockInput, PostingsReaderBase postingsReader, FieldMetadata fieldMetadata, BlockDecoder blockDecoder)UniformSplitTerms(IndexInput blockInput, FieldMetadata fieldMetadata, PostingsReaderBase postingsReader, BlockDecoder blockDecoder, IndexDictionary.BrowserSupplier dictionaryBrowserSupplier) -
Uses of IndexInput in org.apache.lucene.codecs.uniformsplit.sharedterms
Methods in org.apache.lucene.codecs.uniformsplit.sharedterms with parameters of type IndexInput Modifier and Type Method Description protected voidSTUniformSplitTermsReader. fillFieldMap(PostingsReaderBase postingsReader, SegmentReadState state, BlockDecoder blockDecoder, boolean dictionaryOnHeap, IndexInput dictionaryInput, IndexInput blockInput, java.util.Collection<FieldMetadata> fieldMetadataCollection, FieldInfos fieldInfos) -
Uses of IndexInput in org.apache.lucene.index
Fields in org.apache.lucene.index declared as IndexInput Modifier and Type Field Description (package private) IndexInputPrefixCodedTerms.TermIterator. inputMethods in org.apache.lucene.index that return IndexInput Modifier and Type Method Description IndexInputTrackingTmpOutputDirectoryWrapper. openInput(java.lang.String name, IOContext context) -
Uses of IndexInput in org.apache.lucene.search.suggest.document
Fields in org.apache.lucene.search.suggest.document declared as IndexInput Modifier and Type Field Description private IndexInputCompletionFieldsProducer. dictInprivate IndexInputCompletionsTermsReader. dictInMethods in org.apache.lucene.search.suggest.document with parameters of type IndexInput Modifier and Type Method Description static NRTSuggesterNRTSuggester. load(IndexInput input, CompletionPostingsFormat.FSTLoadMode fstLoadMode)private static booleanNRTSuggester. shouldLoadFSTOffHeap(IndexInput input, CompletionPostingsFormat.FSTLoadMode fstLoadMode)Constructors in org.apache.lucene.search.suggest.document with parameters of type IndexInput Constructor Description CompletionsTermsReader(IndexInput dictIn, long offset, long minWeight, long maxWeight, byte type, CompletionPostingsFormat.FSTLoadMode fstLoadMode)Creates a CompletionTermsReader to load a field-specific suggester from the indexdictInwithoffset -
Uses of IndexInput in org.apache.lucene.store
Subclasses of IndexInput in org.apache.lucene.store Modifier and Type Class Description classBufferedChecksumIndexInputSimple implementation ofChecksumIndexInputthat wraps another input and delegates calls.classBufferedIndexInputBase implementation class for bufferedIndexInput.private static classBufferedIndexInput.SlicedIndexInputImplementation of an IndexInput that reads from a portion of a file.classByteBufferIndexInputBase IndexInput implementation that uses an array of ByteBuffers to represent a file.(package private) static classByteBufferIndexInput.MultiBufferImplThis class adds offset support to ByteBufferIndexInput, which is needed for slices.(package private) static classByteBufferIndexInput.SingleBufferImplOptimization of ByteBufferIndexInput for when there is only one bufferclassByteBuffersIndexInputclassChecksumIndexInputExtension of IndexInput, computing checksum as it goes.private static classNativeUnixDirectory.NativeUnixIndexInput(package private) static classNIOFSDirectory.NIOFSIndexInputReads bytes withFileChannel.read(ByteBuffer, long)(package private) static classRAFDirectory.RAFIndexInputReads bytes withRandomAccessFile.seek(long)followed byRandomAccessFile.read(byte[], int, int).classRAMInputStreamDeprecated.This class uses inefficient synchronization and is discouraged in favor ofMMapDirectory.(package private) static classSimpleFSDirectory.SimpleFSIndexInputDeprecated.Reads bytes withSeekableByteChannel.read(ByteBuffer)(package private) static classWindowsDirectory.WindowsIndexInputFields in org.apache.lucene.store declared as IndexInput Modifier and Type Field Description (package private) IndexInputBufferedIndexInput.SlicedIndexInput. baseprivate IndexInputByteBuffersDirectory.FileEntry. content(package private) IndexInputBufferedChecksumIndexInput. mainFields in org.apache.lucene.store with type parameters of type IndexInput Modifier and Type Field Description static java.util.function.BiFunction<java.lang.String,ByteBuffersDataOutput,IndexInput>ByteBuffersDirectory. OUTPUT_AS_BYTE_ARRAYstatic java.util.function.BiFunction<java.lang.String,ByteBuffersDataOutput,IndexInput>ByteBuffersDirectory. OUTPUT_AS_MANY_BUFFERSstatic java.util.function.BiFunction<java.lang.String,ByteBuffersDataOutput,IndexInput>ByteBuffersDirectory. OUTPUT_AS_MANY_BUFFERS_LUCENEstatic java.util.function.BiFunction<java.lang.String,ByteBuffersDataOutput,IndexInput>ByteBuffersDirectory. OUTPUT_AS_ONE_BUFFERprivate java.util.function.BiFunction<java.lang.String,ByteBuffersDataOutput,IndexInput>ByteBuffersDirectory. outputToInputConversion between a buffered index output and the corresponding index input for a given file.Methods in org.apache.lucene.store that return IndexInput Modifier and Type Method Description IndexInputBufferedChecksumIndexInput. clone()IndexInputByteBuffersIndexInput. clone()IndexInputIndexInput. clone()Returns a clone of this stream.IndexInputByteBuffersDirectory.FileEntry. openInput()IndexInputByteBuffersDirectory. openInput(java.lang.String name, IOContext context)abstract IndexInputDirectory. openInput(java.lang.String name, IOContext context)Opens a stream for reading an existing file.IndexInputFileSwitchDirectory. openInput(java.lang.String name, IOContext context)IndexInputFilterDirectory. openInput(java.lang.String name, IOContext context)IndexInputMMapDirectory. openInput(java.lang.String name, IOContext context)Creates an IndexInput for the file with the given name.IndexInputNativeUnixDirectory. openInput(java.lang.String name, IOContext context)IndexInputNIOFSDirectory. openInput(java.lang.String name, IOContext context)IndexInputNRTCachingDirectory. openInput(java.lang.String name, IOContext context)IndexInputRAFDirectory. openInput(java.lang.String name, IOContext context)Creates an IndexInput for the file with the given name.IndexInputRAMDirectory. openInput(java.lang.String name, IOContext context)Deprecated.Returns a stream reading an existing file.IndexInputSimpleFSDirectory. openInput(java.lang.String name, IOContext context)Deprecated.Creates an IndexInput for the file with the given name.IndexInputWindowsDirectory. openInput(java.lang.String name, IOContext context)IndexInputBufferedChecksumIndexInput. slice(java.lang.String sliceDescription, long offset, long length)IndexInputBufferedIndexInput. slice(java.lang.String sliceDescription, long offset, long length)abstract IndexInputIndexInput. slice(java.lang.String sliceDescription, long offset, long length)Creates a slice of this index input, with the given description, offset, and length.IndexInputNativeUnixDirectory.NativeUnixIndexInput. slice(java.lang.String sliceDescription, long offset, long length)IndexInputNIOFSDirectory.NIOFSIndexInput. slice(java.lang.String sliceDescription, long offset, long length)IndexInputRAFDirectory.RAFIndexInput. slice(java.lang.String sliceDescription, long offset, long length)IndexInputRAMInputStream. slice(java.lang.String sliceDescription, long offset, long sliceLength)Deprecated.IndexInputSimpleFSDirectory.SimpleFSIndexInput. slice(java.lang.String sliceDescription, long offset, long length)Methods in org.apache.lucene.store with parameters of type IndexInput Modifier and Type Method Description static BufferedIndexInputBufferedIndexInput. wrap(java.lang.String sliceDescription, IndexInput other, long offset, long length)Wraps a portion of another IndexInput with buffering.Method parameters in org.apache.lucene.store with type arguments of type IndexInput Modifier and Type Method Description (package private) IndexOutputByteBuffersDirectory.FileEntry. createOutput(java.util.function.BiFunction<java.lang.String,ByteBuffersDataOutput,IndexInput> outputToInput)Constructors in org.apache.lucene.store with parameters of type IndexInput Constructor Description BufferedChecksumIndexInput(IndexInput main)Creates a new BufferedChecksumIndexInputSlicedIndexInput(java.lang.String sliceDescription, IndexInput base, long offset, long length)Constructor parameters in org.apache.lucene.store with type arguments of type IndexInput Constructor Description ByteBuffersDirectory(LockFactory factory, java.util.function.Supplier<ByteBuffersDataOutput> bbOutputSupplier, java.util.function.BiFunction<java.lang.String,ByteBuffersDataOutput,IndexInput> outputToInput) -
Uses of IndexInput in org.apache.lucene.util
Methods in org.apache.lucene.util with parameters of type IndexInput Modifier and Type Method Description voidPagedBytes. copy(IndexInput in, long byteCount)Read this many bytes from in -
Uses of IndexInput in org.apache.lucene.util.bkd
Fields in org.apache.lucene.util.bkd declared as IndexInput Modifier and Type Field Description (package private) IndexInputBKDReader. inprivate IndexInputBKDReader.IndexTree. in(package private) IndexInputBKDReader.IntersectState. in(package private) IndexInputOfflinePointReader. in(package private) IndexInputBKDReader. packedIndexMethods in org.apache.lucene.util.bkd with parameters of type IndexInput Modifier and Type Method Description private voidBKDReader. readCommonPrefixes(int[] commonPrefixLengths, byte[] scratchPackedValue, IndexInput in)private intBKDReader. readCompressedDim(IndexInput in)private static voidDocIdsWriter. readDeltaVInts(IndexInput in, int count, int[] docIDs)private static voidDocIdsWriter. readDeltaVInts(IndexInput in, int count, PointValues.IntersectVisitor visitor)(package private) intBKDReader. readDocIDs(IndexInput in, long blockFP, BKDReader.BKDReaderDocIDSetIterator iterator)(package private) static voidDocIdsWriter. readInts(IndexInput in, int count, int[] docIDs)Readcountintegers intodocIDs.(package private) static voidDocIdsWriter. readInts(IndexInput in, int count, PointValues.IntersectVisitor visitor)Readcountintegers and feed the result directly toPointValues.IntersectVisitor.visit(int).private static voidDocIdsWriter. readInts24(IndexInput in, int count, int[] docIDs)private static voidDocIdsWriter. readInts24(IndexInput in, int count, PointValues.IntersectVisitor visitor)(package private) static <T> voidDocIdsWriter. readInts32(IndexInput in, int count, int[] docIDs)private static voidDocIdsWriter. readInts32(IndexInput in, int count, PointValues.IntersectVisitor visitor)private voidBKDReader. readMinMax(int[] commonPrefixLengths, byte[] minPackedValue, byte[] maxPackedValue, IndexInput in)private voidBKDReader. visitCompressedDocValues(int[] commonPrefixLengths, byte[] scratchPackedValue, IndexInput in, BKDReader.BKDReaderDocIDSetIterator scratchIterator, int count, PointValues.IntersectVisitor visitor, int compressedDim)private voidBKDReader. visitDocIDs(IndexInput in, long blockFP, PointValues.IntersectVisitor visitor)(package private) voidBKDReader. visitDocValues(int[] commonPrefixLengths, byte[] scratchDataPackedValue, byte[] scratchMinIndexPackedValue, byte[] scratchMaxIndexPackedValue, IndexInput in, BKDReader.BKDReaderDocIDSetIterator scratchIterator, int count, PointValues.IntersectVisitor visitor)(package private) voidBKDReader. visitDocValuesNoCardinality(int[] commonPrefixLengths, byte[] scratchDataPackedValue, byte[] scratchMinIndexPackedValue, byte[] scratchMaxIndexPackedValue, IndexInput in, BKDReader.BKDReaderDocIDSetIterator scratchIterator, int count, PointValues.IntersectVisitor visitor)(package private) voidBKDReader. visitDocValuesWithCardinality(int[] commonPrefixLengths, byte[] scratchDataPackedValue, byte[] scratchMinIndexPackedValue, byte[] scratchMaxIndexPackedValue, IndexInput in, BKDReader.BKDReaderDocIDSetIterator scratchIterator, int count, PointValues.IntersectVisitor visitor)private voidBKDReader. visitSparseRawDocValues(int[] commonPrefixLengths, byte[] scratchPackedValue, IndexInput in, BKDReader.BKDReaderDocIDSetIterator scratchIterator, int count, PointValues.IntersectVisitor visitor)Constructors in org.apache.lucene.util.bkd with parameters of type IndexInput Constructor Description BKDReader(IndexInput metaIn, IndexInput indexIn, IndexInput dataIn)Caller must pre-seek the providedIndexInputto the index location thatBKDWriter.finish(org.apache.lucene.store.IndexOutput, org.apache.lucene.store.IndexOutput, org.apache.lucene.store.IndexOutput)returned.IndexTree(IndexInput in, int nodeID, int level)IntersectState(IndexInput in, BKDConfig config, PointValues.IntersectVisitor visitor, BKDReader.IndexTree indexVisitor) -
Uses of IndexInput in org.apache.lucene.util.fst
Fields in org.apache.lucene.util.fst declared as IndexInput Modifier and Type Field Description private IndexInputOffHeapFSTStore. in -
Uses of IndexInput in org.apache.lucene.util.packed
Fields in org.apache.lucene.util.packed declared as IndexInput Modifier and Type Field Description private IndexInputDirectPacked64SingleBlockReader. in(package private) IndexInputDirectPackedReader. inMethods in org.apache.lucene.util.packed with parameters of type IndexInput Modifier and Type Method Description static PackedInts.ReaderPackedInts. getDirectReader(IndexInput in)Construct a directPackedInts.Readerfrom anIndexInput.static PackedInts.ReaderPackedInts. getDirectReaderNoHeader(IndexInput in, PackedInts.Format format, int version, int valueCount, int bitsPerValue)Expert: Construct a directPackedInts.Readerfrom a stream without reading metadata at the beginning of the stream.static DirectMonotonicReader.MetaDirectMonotonicReader. loadMeta(IndexInput metaIn, long numValues, int blockShift)Load metadata from the givenIndexInput.static MonotonicBlockPackedReaderMonotonicBlockPackedReader. of(IndexInput in, int packedIntsVersion, int blockSize, long valueCount, boolean direct)Sole constructor.Constructors in org.apache.lucene.util.packed with parameters of type IndexInput Constructor Description BlockPackedReader(IndexInput in, int packedIntsVersion, int blockSize, long valueCount, boolean direct)Sole constructor.DirectPacked64SingleBlockReader(int bitsPerValue, int valueCount, IndexInput in)DirectPackedReader(int bitsPerValue, int valueCount, IndexInput in)MonotonicBlockPackedReader(IndexInput in, int packedIntsVersion, int blockSize, long valueCount, boolean direct)
-