Interface LexicalSearchOptions

How a search matches.

interface LexicalSearchOptions {
    match?: "any" | "all";
    prefix?: boolean;
}

Properties

Properties

match?: "any" | "all"

'any' ranks documents holding at least one query word (the default); 'all' keeps those holding every one.

prefix?: boolean

When true a stored word matches when it begins with a query word.