Skip to content

Meilisearch JS / index / DocumentOptions

Type Alias: DocumentOptions

DocumentOptions = TaskEnqueueOptions & object

Defined in: src/types/types.ts:494

Type Declaration

primaryKey?

optional primaryKey?: string

skipCreation?

optional skipCreation?: boolean

Skip document creation when the document does not already exist in the index. When true, only existing documents will be updated.

See

https://www.meilisearch.com/docs/reference/api/documents/add-or-replace-documents