Interface FuzzyDocument

A document: its id and its fields, each a text or a list of short texts, as keywords are.

interface FuzzyDocument {
    id: string;
    fields: Record<string, string | string[]>;
}

Properties

Properties

id: string

The document's id, one per document in the index.

fields: Record<string, string | string[]>

The document's fields by name. A field the index was not made with is neither searched nor kept.