Uses of Class org.apache.lucene.codecs.hnsw.FlatVectorsWriter (Lucene 10.5.1 core API)
Description: use: package: org.apache.lucene.codecs.hnsw, class: FlatVectorsWriter

# Uses of Class
org.apache.lucene.codecs.hnsw.FlatVectorsWriter

Packages that use FlatVectorsWriter
Package
Description
org.apache.lucene.codecs.hnsw
HNSW vector helper classes.
org.apache.lucene.codecs.lucene104
Lucene 10.4 file format.
org.apache.lucene.codecs.lucene99
Lucene 9.9 file format.

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

  Methods in org.apache.lucene.codecs.hnsw that return FlatVectorsWriter
  Modifier and Type
  Method
  Description
  `abstract FlatVectorsWriter`
  FlatVectorsFormat.`fieldsWriter(SegmentWriteState state)`
  Returns a `FlatVectorsWriter` to write the vectors to the index.

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

  Subclasses of FlatVectorsWriter in org.apache.lucene.codecs.lucene104
  Modifier and Type
  Class
  Description
  `class`
  `Lucene104ScalarQuantizedVectorsWriter`
  Writes quantized vector values and metadata to index segments in the format for Lucene 10.4.
  Methods in org.apache.lucene.codecs.lucene104 that return FlatVectorsWriter
  Modifier and Type
  Method
  Description
  `FlatVectorsWriter`
  Lucene104ScalarQuantizedVectorsFormat.`fieldsWriter(SegmentWriteState state)`
  Constructors in org.apache.lucene.codecs.lucene104 with parameters of type FlatVectorsWriter
  Modifier
  Constructor
  Description
  ``
  `Lucene104ScalarQuantizedVectorsWriter(SegmentWriteState state, QuantizedByteVectorValues.ScalarEncoding encoding, FlatVectorsWriter rawVectorDelegate, Lucene104ScalarQuantizedVectorScorer vectorsScorer)`
  Sole constructor

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

  Subclasses of FlatVectorsWriter in org.apache.lucene.codecs.lucene99
  Modifier and Type
  Class
  Description
  `final class`
  `Lucene99FlatVectorsWriter`
  Writes vector values to index segments.
  Methods in org.apache.lucene.codecs.lucene99 that return FlatVectorsWriter
  Modifier and Type
  Method
  Description
  `FlatVectorsWriter`
  Lucene99FlatVectorsFormat.`fieldsWriter(SegmentWriteState state)`
  Constructors in org.apache.lucene.codecs.lucene99 with parameters of type FlatVectorsWriter
  Modifier
  Constructor
  Description
  ``
  `Lucene99HnswVectorsWriter(SegmentWriteState state, int M, int beamWidth, FlatVectorsFormat flatVectorsFormat, FlatVectorsWriter flatVectorWriter, int numMergeWorkers, TaskExecutor mergeExec)`
  ``
  `Lucene99HnswVectorsWriter(SegmentWriteState state, int M, int beamWidth, FlatVectorsFormat flatVectorsFormat, FlatVectorsWriter flatVectorWriter, int numMergeWorkers, TaskExecutor mergeExec, int tinySegmentsThreshold)`