Skip to content

basalt / search/src / IndexDefinition

Interface: IndexDefinition ​

Defined in: search/src/types.ts:24

Declares an index: which fields are searchable (full-text) and filterable.

Properties ​

fields ​

> fields: string[]

Defined in: search/src/types.ts:27

Text fields matched by the query.


filterable? ​

> optional filterable?: string[]

Defined in: search/src/types.ts:29

Fields usable in filters (exact match). tenantId is always filterable.


name ​

> name: string

Defined in: search/src/types.ts:25

Released under the MIT License.