Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

QueryInterpretationOptions

import type { QueryInterpretationOptions } from "https://googleapis.deno.dev/v1/cloudsearch:v1.ts";

Options to interpret user query.

interface QueryInterpretationOptions {
disableNlInterpretation?: boolean;
disableSupplementalResults?: boolean;
enableVerbatimMode?: boolean;
}

§Properties

§
disableNlInterpretation?: boolean
[src]

Flag to disable natural language (NL) interpretation of queries. Default is false, Set to true to disable natural language interpretation. NL interpretation only applies to predefined datasources.

§
disableSupplementalResults?: boolean
[src]

Use this flag to disable supplemental results for a query. Supplemental results setting chosen at SearchApplication level will take precedence if set to True.

§
enableVerbatimMode?: boolean
[src]

Enable this flag to turn off all internal optimizations like natural language (NL) interpretation of queries, supplemental result retrieval, and usage of synonyms including custom ones. Nl interpretation will be disabled if either one of the two flags is true.