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

- Packages that use KnnVectorsFormat
  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.
  org.apache.lucene.codecs.perfield | Postings format that can delegate to different formats per-field.

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

    Fields in org.apache.lucene.codecs declared as KnnVectorsFormat
    Modifier and Type | Field | Description
    --- | --- | ---
    `static KnnVectorsFormat` | KnnVectorsFormat.`EMPTY` | EMPTY throws an exception when written.

    Methods in org.apache.lucene.codecs that return KnnVectorsFormat
    Modifier and Type | Method | Description
    --- | --- | ---
    `static KnnVectorsFormat` | KnnVectorsFormat.`forName​(String name)` | looks up a format by name
    `abstract KnnVectorsFormat` | Codec.`knnVectorsFormat()` | Encodes/decodes numeric vector fields
    `KnnVectorsFormat` | FilterCodec.`knnVectorsFormat()` |

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

    Subclasses of KnnVectorsFormat in org.apache.lucene.codecs.lucene99
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `Lucene99HnswScalarQuantizedVectorsFormat` | Lucene 9.9 vector format, which encodes numeric vector values into an associated graph connecting the documents having values.
    `class` | `Lucene99HnswVectorsFormat` | Lucene 9.9 vector format, which encodes numeric vector values into an associated graph connecting the documents having values.

    Methods in org.apache.lucene.codecs.lucene99 that return KnnVectorsFormat
    Modifier and Type | Method | Description
    --- | --- | ---
    `KnnVectorsFormat` | Lucene99Codec.`getKnnVectorsFormatForField​(String field)` | Returns the vectors format that should be used for writing new segments of `field`
    `KnnVectorsFormat` | Lucene99Codec.`knnVectorsFormat()` |

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

    Subclasses of KnnVectorsFormat in org.apache.lucene.codecs.perfield
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `PerFieldKnnVectorsFormat` | Enables per field numeric vector support.

    Methods in org.apache.lucene.codecs.perfield that return KnnVectorsFormat
    Modifier and Type | Method | Description
    --- | --- | ---
    `abstract KnnVectorsFormat` | PerFieldKnnVectorsFormat.`getKnnVectorsFormatForField​(String field)` | Returns the numeric vector format that should be used for writing new segments of `field` .