QueryInterpretation
import type { QueryInterpretation } from "https://googleapis.deno.dev/v1/cloudsearch:v1.ts";interface QueryInterpretation {
interpretationType?: "NONE" | "BLEND" | "REPLACE";
interpretedQuery?: string;
interpretedQueryActualResultCount?: number;
interpretedQueryEstimatedResultCount?: bigint;
reason?: "UNSPECIFIED" | "QUERY_HAS_NATURAL_LANGUAGE_INTENT" | "NOT_ENOUGH_RESULTS_FOUND_FOR_USER_QUERY";
}§Properties
§
interpretedQuery?: string
[src]The interpretation of the query used in search. For example, queries with natural language intent like "email from john" will be interpreted as "from:john source:mail". This field will not be filled when the reason is NOT_ENOUGH_RESULTS_FOUND_FOR_USER_QUERY.
§
interpretedQueryActualResultCount?: number
[src]The actual number of results returned by the interpreted query.