Interface CfnIndex.SearchProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnIndex.SearchProperty.Jsii$Proxy
Enclosing class:
CfnIndex

@Stability(Stable) public static interface CfnIndex.SearchProperty extends software.amazon.jsii.JsiiSerializable
Provides information about how a custom index field is used during a search.

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();
 
  • Method Details

    • getDisplayable

      @Stability(Stable) @Nullable default Object getDisplayable()
      Determines whether the field is returned in the query response.

      The default is true .

    • getFacetable

      @Stability(Stable) @Nullable default Object getFacetable()
      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 .

    • getSearchable

      @Stability(Stable) @Nullable default Object getSearchable()
      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.

    • getSortable

      @Stability(Stable) @Nullable default Object getSortable()
      Determines whether the field can be used to sort the results of a query.

      The default is false .

    • builder

      @Stability(Stable) static CfnIndex.SearchProperty.Builder builder()
      Returns:
      a CfnIndex.SearchProperty.Builder of CfnIndex.SearchProperty