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

SearchResult

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

Results containing indexed information for a document.

interface SearchResult {
clusteredResults?: SearchResult[];
debugInfo?: ResultDebugInfo;
metadata?: Metadata;
snippet?: Snippet;
title?: string;
url?: string;
}

§Properties

§
clusteredResults?: SearchResult[]
[src]

If source is clustered, provide list of clustered results. There will only be one level of clustered results. If current source is not enabled for clustering, this field will be empty.

§

Debugging information about this search result.

§
metadata?: Metadata
[src]

Metadata of the search result.

§
snippet?: Snippet
[src]

The concatenation of all snippets (summaries) available for this result.

§
title?: string
[src]

Title of the search result.

§
url?: string
[src]

The URL of the search result. The URL contains a Google redirect to the actual item. This URL is signed and shouldn't be changed.