IndexAST
Defined in: schema/ast/types.ts:78
AST node representing an index definition.
Properties
Section titled “Properties”analyzer?
Section titled “analyzer?”
optionalanalyzer:string
Defined in: schema/ast/types.ts:88
Search analyzer name
columns
Section titled “columns”columns:
string[]
Defined in: schema/ast/types.ts:82
Columns/fields included in the index
comment?
Section titled “comment?”
optionalcomment:string
Defined in: schema/ast/types.ts:92
Index comment
name:
string
Defined in: schema/ast/types.ts:80
Index name
search?
Section titled “search?”
optionalsearch:boolean
Defined in: schema/ast/types.ts:86
Whether this is a full-text search index
unique
Section titled “unique”unique:
boolean
Defined in: schema/ast/types.ts:84
Whether the index enforces uniqueness
vector?
Section titled “vector?”
optionalvector:boolean
Defined in: schema/ast/types.ts:90
Whether this is a vector index