Skip to main content

Interface: SearchIndexConfig<SearchField, FilterFields>

server.SearchIndexConfig

The configuration for a full text search index.

Type parameters

NameType
SearchFieldextends string
FilterFieldsextends string

Properties

searchField

searchField: SearchField

The field to index for full text search.

This must be a field of type string.

Defined in

server/schema.ts:86


filterFields

Optional filterFields: FilterFields[]

Additional fields to index for fast filtering when running search queries.

Defined in

server/schema.ts:91