Class CfnIndex.SearchProperty
Provides information about how a custom index field is used during a search.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.Kendra
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class SearchProperty : Object, CfnIndex.ISearchProperty
Syntax (vb)
Public Class SearchProperty
Inherits Object
Implements CfnIndex.ISearchProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Kendra;
var searchProperty = new SearchProperty {
Displayable = false,
Facetable = false,
Searchable = false,
Sortable = false
};
Synopsis
Constructors
SearchProperty() |
Properties
Displayable | Determines whether the field is returned in the query response. |
Facetable | Indicates that the field can be used to create search facets, a count of results for each value in the field. |
Searchable | Determines whether the field is used in the search. |
Sortable | Determines whether the field can be used to sort the results of a query. |
Constructors
SearchProperty()
public SearchProperty()
Properties
Displayable
Determines whether the field is returned in the query response.
public object Displayable { get; set; }
Property Value
System.Object
Remarks
Facetable
Indicates that the field can be used to create search facets, a count of results for each value in the field.
public object Facetable { get; set; }
Property Value
System.Object
Remarks
Searchable
Determines whether the field is used in the search.
public object Searchable { get; set; }
Property Value
System.Object
Remarks
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.
Sortable
Determines whether the field can be used to sort the results of a query.
public object Sortable { get; set; }
Property Value
System.Object