Interface IIndexSearchOptions

describes options available to search method

interface IIndexSearchOptions {
    matchThreshold?: number;
    queryRequired?: boolean;
}

Properties

matchThreshold?: number

number of matches required

queryRequired?: boolean

when true empty query returns empty results