Interface InputSearchQueryWithFields

Hierarchy

Properties

accountId?: string

Your account ID

customRules?: InputSearchRule[]

Any custom rules that should be added in this search request. These rules are appended to the rule list defined in nosto dashboard

explain?: boolean

(Private key only) Returns scoring information for each object if true. This should only be used for debugging as performance will suffer. If not needed, omit this parameter

keywords?: {
    fields?: string[];
} & InputSearchKeywords

Keyword specific parameters

Type declaration

  • Optional fields?: string[]

    The fields to return in the response.

products?: {
    fields?: string[];
} & InputSearchProducts

Product specific parameters

Type declaration

  • Optional fields?: string[]

    The fields to return in the response.

query?: string

Search text (raw user input)

redirect?: string
rules?: string[]

List of rule ID's or ID matching patterns with wildcards. Patterns [ global-*, query-* ] should be used here to match all rules created in dashboard

segments?: string[]

Segment ID's user belongs to

sessionParams?: InputSearchQuery
time?: number

(Private key only) Overwrites current time. Used to trigger scheduled rules ahead of schedule

Generated using TypeDoc