Interface InputSearchRule

Rules allow search query modification based on search parameters

interface InputSearchRule {
    enabled?: boolean;
    id: string;
    match?: InputSearchRuleMatch;
    name?: string;
    schedule?: InputSearchSchedule[];
    set?: InputSearchQuery;
}

Properties

enabled?: boolean

Used to disable rules creating through dashboard

id: string

Condition that must be met for query to match

name?: string

User friendly name

schedule?: InputSearchSchedule[]

Defines when the rule will be applied based on date/time

Search query parameters that will be set if rule matches. Same format as search query itself but not all params are allowed