Uses of Class org.apache.lucene.index.SegmentReadState (Lucene 10.5.0 core API)
Description: use: package: org.apache.lucene.index, class: SegmentReadState

# Uses of Class
org.apache.lucene.index.SegmentReadState

Packages that use SegmentReadState
Package
Description
org.apache.lucene.codecs
Codecs API: API for customization of the encoding and structure of the index.
org.apache.lucene.codecs.hnsw
HNSW vector helper classes.
org.apache.lucene.codecs.lucene103.blocktree
BlockTree terms dictionary.
org.apache.lucene.codecs.lucene104
Lucene 10.4 file format.
org.apache.lucene.codecs.lucene90
Lucene 9.0 file format.
org.apache.lucene.codecs.lucene99
Lucene 9.9 file format.
org.apache.lucene.codecs.perfield
Postings format that can delegate to different formats per-field.
org.apache.lucene.index
Code to maintain and access indices.

- ## Uses of SegmentReadState in org.apache.lucene.codecs

  Methods in org.apache.lucene.codecs with parameters of type SegmentReadState
  Modifier and Type
  Method
  Description
  `abstract DocValuesProducer`
  DocValuesFormat.`fieldsProducer(SegmentReadState state)`
  Returns a `DocValuesProducer` to read docvalues from the index.
  `abstract FieldsProducer`
  PostingsFormat.`fieldsProducer(SegmentReadState state)`
  Reads a segment.
  `abstract KnnVectorsReader`
  KnnVectorsFormat.`fieldsReader(SegmentReadState state)`
  Returns a `KnnVectorsReader` to read the vectors from the index.
  `abstract PointsReader`
  PointsFormat.`fieldsReader(SegmentReadState state)`
  Reads a segment.
  `abstract void`
  PostingsReaderBase.`init(IndexInput termsIn, SegmentReadState state)`
  Performs any initialization, such as reading and verifying the header from the provided terms dictionary `IndexInput`.
  `abstract NormsProducer`
  NormsFormat.`normsProducer(SegmentReadState state)`
  Returns a `NormsProducer` to read norms from the index.

- ## Uses of SegmentReadState in org.apache.lucene.codecs.hnsw

  Methods in org.apache.lucene.codecs.hnsw with parameters of type SegmentReadState
  Modifier and Type
  Method
  Description
  `abstract FlatVectorsReader`
  FlatVectorsFormat.`fieldsReader(SegmentReadState state)`
  Returns a `KnnVectorsReader` to read the vectors from the index.

- ## Uses of SegmentReadState in org.apache.lucene.codecs.lucene103.blocktree

  Constructors in org.apache.lucene.codecs.lucene103.blocktree with parameters of type SegmentReadState
  Modifier
  Constructor
  Description
  ``
  `Lucene103BlockTreeTermsReader(PostingsReaderBase postingsReader, SegmentReadState state)`
  Sole constructor.

- ## Uses of SegmentReadState in org.apache.lucene.codecs.lucene104

  Methods in org.apache.lucene.codecs.lucene104 with parameters of type SegmentReadState
  Modifier and Type
  Method
  Description
  `FieldsProducer`
  Lucene104PostingsFormat.`fieldsProducer(SegmentReadState state)`
  `KnnVectorsReader`
  Lucene104HnswScalarQuantizedVectorsFormat.`fieldsReader(SegmentReadState state)`
  `FlatVectorsReader`
  Lucene104ScalarQuantizedVectorsFormat.`fieldsReader(SegmentReadState state)`
  `void`
  Lucene104PostingsReader.`init(IndexInput termsIn, SegmentReadState state)`
  Constructors in org.apache.lucene.codecs.lucene104 with parameters of type SegmentReadState
  Modifier
  Constructor
  Description
  ``
  `Lucene104PostingsReader(SegmentReadState state)`
  Sole constructor.
  ``
  `Lucene104ScalarQuantizedVectorsReader(SegmentReadState state, FlatVectorsReader rawVectorsReader, Lucene104ScalarQuantizedVectorScorer vectorsScorer)`
  ``
  `Lucene104ScalarQuantizedVectorsReader(SegmentReadState state, FlatVectorsReader rawVectorsReader, Lucene104ScalarQuantizedVectorScorer vectorsScorer, DataAccessHint accessHint)`

- ## Uses of SegmentReadState in org.apache.lucene.codecs.lucene90

  Methods in org.apache.lucene.codecs.lucene90 with parameters of type SegmentReadState
  Modifier and Type
  Method
  Description
  `DocValuesProducer`
  Lucene90DocValuesFormat.`fieldsProducer(SegmentReadState state)`
  `PointsReader`
  Lucene90PointsFormat.`fieldsReader(SegmentReadState state)`
  `NormsProducer`
  Lucene90NormsFormat.`normsProducer(SegmentReadState state)`
  Constructors in org.apache.lucene.codecs.lucene90 with parameters of type SegmentReadState
  Modifier
  Constructor
  Description
  ``
  `Lucene90PointsReader(SegmentReadState readState)`
  Sole constructor

- ## Uses of SegmentReadState in org.apache.lucene.codecs.lucene99

  Methods in org.apache.lucene.codecs.lucene99 with parameters of type SegmentReadState
  Modifier and Type
  Method
  Description
  `FlatVectorsReader`
  Lucene99FlatVectorsFormat.`fieldsReader(SegmentReadState state)`
  `KnnVectorsReader`
  Lucene99HnswVectorsFormat.`fieldsReader(SegmentReadState state)`
  Constructors in org.apache.lucene.codecs.lucene99 with parameters of type SegmentReadState
  Modifier
  Constructor
  Description
  ``
  `Lucene99FlatVectorsReader(SegmentReadState state, FlatVectorsScorer scorer)`
  ``
  `Lucene99FlatVectorsReader(SegmentReadState state, FlatVectorsScorer scorer, DataAccessHint accessHint)`
  Creates a Lucene99FlatVectorsReader.
  ``
  `Lucene99HnswVectorsReader(SegmentReadState state, FlatVectorsReader flatVectorsReader)`

- ## Uses of SegmentReadState in org.apache.lucene.codecs.perfield

  Methods in org.apache.lucene.codecs.perfield with parameters of type SegmentReadState
  Modifier and Type
  Method
  Description
  `final DocValuesProducer`
  PerFieldDocValuesFormat.`fieldsProducer(SegmentReadState state)`
  `final FieldsProducer`
  PerFieldPostingsFormat.`fieldsProducer(SegmentReadState state)`
  `KnnVectorsReader`
  PerFieldKnnVectorsFormat.`fieldsReader(SegmentReadState state)`
  Constructors in org.apache.lucene.codecs.perfield with parameters of type SegmentReadState
  Modifier
  Constructor
  Description
  ``
  `FieldsReader(SegmentReadState readState)`
  Create a FieldsReader over a segment, opening VectorReaders for each KnnVectorsFormat specified by the indexed numeric vector fields.

- ## Uses of SegmentReadState in org.apache.lucene.index

  Constructors in org.apache.lucene.index with parameters of type SegmentReadState
  Modifier
  Constructor
  Description
  ``
  `SegmentReadState(SegmentReadState other, String newSegmentSuffix)`
  Create a `SegmentReadState`.