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

SearchResponse

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

The search API response.

interface SearchResponse {
debugInfo?: ResponseDebugInfo;
errorInfo?: ErrorInfo;
facetResults?: FacetResult[];
hasMoreResults?: boolean;
queryInterpretation?: QueryInterpretation;
resultCountEstimate?: bigint;
resultCountExact?: bigint;
resultCounts?: ResultCounts;
results?: SearchResult[];
spellResults?: SpellResult[];
structuredResults?: StructuredResult[];
}

§Properties

§

Debugging information about the response.

§
errorInfo?: ErrorInfo
[src]

Error information about the response.

§
facetResults?: FacetResult[]
[src]

Repeated facet results.

§
hasMoreResults?: boolean
[src]

Whether there are more search results matching the query.

§
queryInterpretation?: QueryInterpretation
[src]

Query interpretation result for user query. Empty if query interpretation is disabled.

§
resultCountEstimate?: bigint
[src]

The estimated result count for this query.

§
resultCountExact?: bigint
[src]

The exact result count for this query.

§
resultCounts?: ResultCounts
[src]

Expanded result count information.

§
results?: SearchResult[]
[src]

Results from a search query.

§
spellResults?: SpellResult[]
[src]

Suggested spelling for the query.

§
structuredResults?: StructuredResult[]
[src]

Structured results for the user query. These results are not counted against the page_size.