IndexField class

Constructors

IndexField({Input<String?>? arrayConfig, Input<String?>? fieldPath, Input<String?>? order, Input<IndexFieldSearchConfig?>? searchConfig, Input<IndexFieldVectorConfig?>? vectorConfig})
Creates a new IndexField. arrayConfig Indicates that this field supports operations on arrayValues. Only one of order, arrayConfig, searchConfig and fieldPath Name of the field. order Indicates that this field supports ordering by the specified order or comparing using =, <, <=, >, >=. searchConfig Indicates that this field supports text or geo-search operations. Only one of order, arrayConfig, searchConfig and vectorConfig Indicates that this field supports vector search operations. Only one of order, arrayConfig, searchConfig and
const
IndexField.fromMap(Map<String, dynamic> map)
factory

Properties

arrayConfig → Input<String?>?
Indicates that this field supports operations on arrayValues. Only one of order, arrayConfig, searchConfig and vectorConfig can be specified. Possible values are: CONTAINS.
final
fieldPath → Input<String?>?
Name of the field.
final
hashCode → int
The hash code for this object.
no setterinherited
order → Input<String?>?
Indicates that this field supports ordering by the specified order or comparing using =, <, <=, >, >=. Only one of order, arrayConfig, searchConfig and vectorConfig can be specified. Possible values are: ASCENDING, DESCENDING.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
searchConfig → Input<IndexFieldSearchConfig?>?
Indicates that this field supports text or geo-search operations. Only one of order, arrayConfig, searchConfig and vectorConfig can be specified. Structure is documented below.
final
vectorConfig → Input<IndexFieldVectorConfig?>?
Indicates that this field supports vector search operations. Only one of order, arrayConfig, searchConfig and vectorConfig can be specified. Vector Fields should come after the field path __name__. Structure is documented below.
final

Methods

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

Operators

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