Interface Search.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Search.Builder,
,Search> SdkBuilder<Search.Builder,
,Search> SdkPojo
- Enclosing class:
Search
-
Method Summary
Modifier and TypeMethodDescriptiondisplayable
(Boolean displayable) Determines whether the field is returned in the query response.Indicates that the field can be used to create search facets, a count of results for each value in the field.searchable
(Boolean searchable) Determines whether the field is used in the search.Determines whether the field can be used to sort the results of a query.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
.- Parameters:
facetable
- Indicates that the field can be used to create search facets, a count of results for each value in the field. The default isfalse
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
searchable
Determines whether the field is used in the search. If the
Searchable
field istrue
, you can use relevance tuning to manually tune how Amazon Kendra weights the field in the search. The default istrue
for string fields andfalse
for number and date fields.- Parameters:
searchable
- Determines whether the field is used in the search. If theSearchable
field istrue
, you can use relevance tuning to manually tune how Amazon Kendra weights the field in the search. The default istrue
for string fields andfalse
for number and date fields.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
displayable
Determines whether the field is returned in the query response. The default is
true
.- Parameters:
displayable
- Determines whether the field is returned in the query response. The default istrue
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 totrue
, Amazon Kendra returns an exception. The default isfalse
.- Parameters:
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 haveSortable
set totrue
, Amazon Kendra returns an exception. The default isfalse
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-