IndexField class

Configuration information for a field in the index, including its name, type, and options. The supported options depend on the IndexFieldType.

Constructors

IndexField({required String indexFieldName, required IndexFieldType indexFieldType, DateArrayOptions? dateArrayOptions, DateOptions? dateOptions, DoubleArrayOptions? doubleArrayOptions, DoubleOptions? doubleOptions, IntArrayOptions? intArrayOptions, IntOptions? intOptions, LatLonOptions? latLonOptions, LiteralArrayOptions? literalArrayOptions, LiteralOptions? literalOptions, TextArrayOptions? textArrayOptions, TextOptions? textOptions})
IndexField.fromXml(XmlElement elem)
factory

Properties

dateArrayOptions → DateArrayOptions?
final
dateOptions → DateOptions?
final
doubleArrayOptions → DoubleArrayOptions?
final
doubleOptions → DoubleOptions?
final
hashCode → int
The hash code for this object.
no setterinherited
indexFieldName → String
A string that represents the name of an index field. CloudSearch supports regular index fields as well as dynamic fields. A dynamic field's name defines a pattern that begins or ends with a wildcard. Any document fields that don't map to a regular index field but do match a dynamic field's pattern are configured with the dynamic field's indexing options.
final
indexFieldType → IndexFieldType
final
intArrayOptions → IntArrayOptions?
final
intOptions → IntOptions?
final
latLonOptions → LatLonOptions?
final
literalArrayOptions → LiteralArrayOptions?
final
literalOptions → LiteralOptions?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
textArrayOptions → TextArrayOptions?
final
textOptions → TextOptions?
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