Interface QueryInterpretationOptions

Options to specify how the query input is interpreted *

interface QueryInterpretationOptions {
    ignoreCase?: boolean;
    locale?: {
        country?: string;
        language: string;
    };
    suggestContains?: boolean;
}

Properties

ignoreCase?: boolean

Defines if conditions in the query should be case sensitive. Default value is 'false'.

locale?: {
    country?: string;
    language: string;
}

Locale used in the query.

Type declaration

  • Optional Readonly country?: string
  • Readonly language: string
suggestContains?: boolean

Defines if a '$suggest' query should be interpreted as "contained in". Default value is 'false'. In that case, matches "start" with the suggest string.

Generated using TypeDoc