@Stability(value=Stable)
public static interface CfnIndex.SearchProperty
extends software.amazon.jsii.JsiiSerializable
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 Object |
getDisplayable()
Determines whether the field is returned in the query response.
|
default Object |
getFacetable()
Indicates that the field can be used to create search facets, a count of results for each value in the field.
|
default Object |
getSearchable()
Determines whether the field is used in the search.
|
default Object |
getSortable()
Indicates that the field can be used to sort the search results.
|
@Stability(value=Stable) @Nullable default Object getDisplayable()
The default is true .
@Stability(value=Stable) @Nullable default Object getFacetable()
The default is false .
@Stability(value=Stable) @Nullable default 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.
@Stability(value=Stable) @Nullable default Object getSortable()
The default is false .
@Stability(value=Stable) static CfnIndex.SearchProperty.Builder builder()
CfnIndex.SearchProperty.Builder of CfnIndex.SearchPropertyCopyright © 2022. All rights reserved.