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

QueryResult

import type { QueryResult } from "https://aws-api.deno.dev/v0.4/services/kendra.ts?docs=full";
interface QueryResult {
FacetResults?: FacetResult[] | null;
QueryId?: string | null;
ResultItems?: QueryResultItem[] | null;
SpellCorrectedQueries?: SpellCorrectedQuery[] | null;
TotalNumberOfResults?: number | null;
Warnings?: Warning[] | null;
}

§Properties

§
FacetResults?: FacetResult[] | null
[src]

Contains the facet results. A FacetResult contains the counts for each attribute key that was specified in the Facets input parameter.

§
QueryId?: string | null
[src]

The identifier for the search. You use QueryId to identify the search when using the feedback API.

§
ResultItems?: QueryResultItem[] | null
[src]

The results of the search.

§
SpellCorrectedQueries?: SpellCorrectedQuery[] | null
[src]

A list of information related to suggested spell corrections for a query.

§
TotalNumberOfResults?: number | null
[src]

The total number of items found by the search; however, you can only retrieve up to 100 items. For example, if the search found 192 items, you can only retrieve the first 100 of the items.

§
Warnings?: Warning[] | null
[src]

A list of warning codes and their messages on problems with your query.

Amazon Kendra currently only supports one type of warning, which is a warning on invalid syntax used in the query. For examples of invalid query syntax, see Searching with advanced query syntax.