public static interface CfnIndex.SearchProperty
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.kendra.*; SearchProperty searchProperty = SearchProperty.builder() .displayable(false) .facetable(false) .searchable(false) .sortable(false) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnIndex.SearchProperty.Builder
A builder for
CfnIndex.SearchProperty |
static class |
CfnIndex.SearchProperty.Jsii$Proxy
An implementation for
CfnIndex.SearchProperty |
Modifier and Type | Method and Description |
---|---|
static CfnIndex.SearchProperty.Builder |
builder() |
default java.lang.Object |
getDisplayable()
Determines whether the field is returned in the query response.
|
default java.lang.Object |
getFacetable()
Indicates that the field can be used to create search facets, a count of results for each value in the field.
|
default java.lang.Object |
getSearchable()
Determines whether the field is used in the search.
|
default java.lang.Object |
getSortable()
Indicates that the field can be used to sort the search results.
|
default java.lang.Object getDisplayable()
The default is true
.
default java.lang.Object getFacetable()
The default is false
.
default java.lang.Object getSearchable()
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.
default java.lang.Object getSortable()
The default is false
.
static CfnIndex.SearchProperty.Builder builder()
CfnIndex.SearchProperty.Builder
of CfnIndex.SearchProperty