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

Search

import type { Search } from "https://aws-api.deno.dev/v0.3/services/kendra.ts?docs=full";

Provides information about how a custom index field is used during a search.

interface Search {
Displayable?: boolean | null;
Facetable?: boolean | null;
Searchable?: boolean | null;
Sortable?: boolean | null;
}

§Properties

§
Displayable?: boolean | null
[src]

Determines whether the field is returned in the query response. The default is true.

§
Facetable?: boolean | null
[src]

Indicates that the field can be used to create search facets, a count of results for each value in the field. The default is false .

§
Searchable?: boolean | null
[src]

Determines whether the field is used in the search. If the Searchable field is true, you can use relevance tuning to manually tune how Amazon Kendra weights the field in the search. The default is true for string fields and false for number and date fields.

§
Sortable?: boolean | null
[src]

Determines whether the field can be used to sort the results of a query. If you specify sorting on a field that does not have Sortable set to true, Amazon Kendra returns an exception. The default is false.