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://aws-api.deno.dev/v0.3/services/cloudsearchdomain.ts?docs=full";

The result of a Search request. Contains the documents that match the specified search criteria and any requested fields, highlights, and facet information.

interface SearchResponse {
facets?: {
[key: string]: BucketInfo | null | undefined;
}
| null;
hits?: Hits | null;
stats?: {
[key: string]: FieldStats | null | undefined;
}
| null;
status?: SearchStatus | null;
}

§Properties

§
facets?: {
[key: string]: BucketInfo | null | undefined;
}
| null
[src]

The requested facet information.

§
hits?: Hits | null
[src]

The documents that match the search criteria.

§
stats?: {
[key: string]: FieldStats | null | undefined;
}
| null
[src]

The requested field statistics information.

§
status?: SearchStatus | null
[src]

The status information returned for the search request.