## Uses of Class
org.apache.lucene.codecs.KnnFieldVectorsWriter

- Packages that use KnnFieldVectorsWriter
  Package | Description
  --- | ---
  org.apache.lucene.codecs | Codecs API: API for customization of the encoding and structure of the index.
  org.apache.lucene.codecs.lucene99 | Lucene 9.9 file format.

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

    Subclasses of KnnFieldVectorsWriter in org.apache.lucene.codecs
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `FlatFieldVectorsWriter<T>` | Vectors' writer for a field

    Fields in org.apache.lucene.codecs declared as KnnFieldVectorsWriter
    Modifier and Type | Field | Description
    --- | --- | ---
    `protected KnnFieldVectorsWriter<T>` | FlatFieldVectorsWriter.`indexingDelegate` | The delegate to write to, can be null When non-null, all vectors seen should be written to the delegate along with being written to the flat vectors.

    Methods in org.apache.lucene.codecs that return KnnFieldVectorsWriter
    Modifier and Type | Method | Description
    --- | --- | ---
    `KnnFieldVectorsWriter<?>` | BufferingKnnVectorsWriter.`addField​(FieldInfo fieldInfo)` |
    `abstract KnnFieldVectorsWriter<?>` | KnnVectorsWriter.`addField​(FieldInfo fieldInfo)` | Add new field for indexing

    Methods in org.apache.lucene.codecs with parameters of type KnnFieldVectorsWriter
    Modifier and Type | Method | Description
    --- | --- | ---
    `abstract FlatFieldVectorsWriter<?>` | FlatVectorsWriter.`addField​(FieldInfo fieldInfo, KnnFieldVectorsWriter<?> indexWriter)` | Add a new field for indexing, allowing the user to provide a writer that the flat vectors writer can delegate to if additional indexing logic is required.

    Constructors in org.apache.lucene.codecs with parameters of type KnnFieldVectorsWriter
    Constructor | Description
    --- | ---
    `FlatFieldVectorsWriter​(KnnFieldVectorsWriter<T> indexingDelegate)` | Sole constructor that expects some indexingDelegate.

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

    Methods in org.apache.lucene.codecs.lucene99 that return KnnFieldVectorsWriter
    Modifier and Type | Method | Description
    --- | --- | ---
    `KnnFieldVectorsWriter<?>` | Lucene99HnswVectorsWriter.`addField​(FieldInfo fieldInfo)` |

    Methods in org.apache.lucene.codecs.lucene99 with parameters of type KnnFieldVectorsWriter
    Modifier and Type | Method | Description
    --- | --- | ---
    `FlatFieldVectorsWriter<?>` | Lucene99FlatVectorsWriter.`addField​(FieldInfo fieldInfo, KnnFieldVectorsWriter<?> indexWriter)` |
    `FlatFieldVectorsWriter<?>` | Lucene99ScalarQuantizedVectorsWriter.`addField​(FieldInfo fieldInfo, KnnFieldVectorsWriter<?> indexWriter)` |