Interface SearchOptions<R>

Search options for single page search

interface SearchOptions<R extends ResultSelector = ResultSelector> {
    query: string;
    requestConfig?: AxiosRequestConfig<any>;
    resultTypes?: R[];
    strictSelector?: boolean;
}

Type Parameters

Hierarchy (View Summary)

Properties

query: string

Search query

requestConfig?: AxiosRequestConfig<any>

Custom request configuration to be sent with the request

resultTypes?: R[]

Control the type of results returned (can have a significant performance impact)

strictSelector?: boolean

when true, will only return resultNodes that do not contain any undefined/empty properties