Search class

Provides information about how a custom index field is used during a search.

Constructors

Search.fromJson(Map<String, dynamic> json)
factory

Properties

displayable bool?
Determines whether the field is returned in the query response. The default is true.
final
facetable bool?
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 .
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
searchable bool?
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.
final
sortable bool?
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 to true, Amazon Kendra returns an exception. The default is false.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited