> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bijection.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Interface: VectorIndexConfig<VectorField, FilterFields>

> The configuration for a vector index.

[server](/api/modules/server).VectorIndexConfig

The configuration for a vector index.

## Type parameters

| Name | Type |
| :- | :- |
| `VectorField` | extends `string` |
| `FilterFields` | extends `string` |

## Properties

### vectorField

• **vectorField**: `VectorField`

The field to index for vector search.

This must be a field of type `v.array(v.float64())` (or a union)

***

### dimensions

• **dimensions**: `number`

The length of the vectors indexed. This must be between 2 and 2048 inclusive.

***

### filterFields

• `Optional` **filterFields**: `FilterFields`\[]

Additional fields to index for fast filtering when running vector searches.
