public static interface Search.Builder extends SdkPojo, CopyableBuilder<Search.Builder,Search>
| Modifier and Type | Method and Description |
|---|---|
Search.Builder |
displayable(Boolean displayable)
Determines whether the field is returned in the query response.
|
Search.Builder |
facetable(Boolean facetable)
Indicates that the field can be used to create search facets, a count of results for each value in the field.
|
Search.Builder |
searchable(Boolean searchable)
Determines whether the field is used in the search.
|
Search.Builder |
sortable(Boolean sortable)
Determines whether the field can be used to sort the results of a query.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildSearch.Builder facetable(Boolean facetable)
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 .
facetable - 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 .Search.Builder searchable(Boolean searchable)
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.
searchable - 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.Search.Builder displayable(Boolean displayable)
Determines whether the field is returned in the query response. The default is true.
displayable - Determines whether the field is returned in the query response. The default is true.Search.Builder sortable(Boolean sortable)
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.
sortable - 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.Copyright © 2023. All rights reserved.