Skip to content

DocumentSearchData

Defined in: types.ts:16

Search data for a single document

Note: This does NOT include routing information. Routing is the responsibility of the consuming application.

documentId: string

Defined in: types.ts:18

Unique document identifier (usually absolute file path)


entries: SearchEntry[]

Defined in: types.ts:32

Searchable content entries


optional filters: object

Defined in: types.ts:25

Filter metadata (pluggable)

[key: string]: unknown

optional documentType: string

optional tags: string[]


optional shortName: string

Defined in: types.ts:22

Short name (if available in document metadata)


title: string

Defined in: types.ts:20

Document title