Skip to content

@inferedge/moss v1.0.0-beta.1


@inferedge/moss / Item

Interface: Item

Searchable item that can be indexed and retrieved.

Extended by

Properties

id

id: string | number

Unique identifier within the index.

Example

ts
"doc-001", 42

text

text: string

Text content to be indexed and made searchable.

Example

ts
"Introduction to machine learning algorithms"