Interface: VectorIndexConfig<VectorField, FilterFields>
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)
Defined in
dimensions
• dimensions: number
The length of the vectors indexed. This must be between 2 and 2048 inclusive.
Defined in
filterFields
• Optional
filterFields: FilterFields
[]
Additional fields to index for fast filtering when running vector searches.