Interface InputSearchKeywords

interface InputSearchKeywords {
    boost?: InputSearchBoost[];
    emptyQueryMatchesAll?: boolean;
    filter?: InputSearchTopLevelFilter[];
    from?: number;
    highlight?: InputSearchHighlight;
    size?: number;
    sort?: InputSearchSort[];
}

Properties

List of custom boosts

emptyQueryMatchesAll?: boolean

Matches all objects if query is not provided or empty. Defaults to false.

List of filters. Values are joined with AND operator

from?: number

Offset of returned keyword list. Used for pagination, use together with size parameter

Highlight tag

size?: number

How many keywords will be returned

Sets how results should be sorted. After sorting by all the options provided in sort param, or in case sort param is not set, results will be sorted by relevance.