Skip to content

SearchIndexDefinition

Describes a search index over the Items of the listed Templates.

Declaring a search index also declares a Union with the same key on the App, holding the same Templates.

readonly handlers: Record<string, SearchIndexHandler>

Handlers that turn an Item into index text and facets, keyed by Template PRN.


readonly key: string

Key of the index, unique within its App.


readonly prn: string

PRN of the index, prn::<app>:search/<key>.


readonly templatePrns: string[]

PRNs of the indexed Templates, one per handler.