QueryResult
import type { QueryResult } from "https://aws-api.deno.dev/v0.3/services/kendra.ts?docs=full";
interface QueryResult {
FacetResults?: FacetResult[] | null;
QueryId?: string | null;
ResultItems?: QueryResultItem[] | 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 unique 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.
§
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.
§
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.