TextArrayOptions class
Options for a field that contains an array of text strings. Present if
IndexFieldType
specifies the field is of type
text-array
. A text-array
field is always
searchable. All options are enabled by default.
Constructors
- TextArrayOptions({String? analysisScheme, String? defaultValue, bool? highlightEnabled, bool? returnEnabled, String? sourceFields})
- TextArrayOptions.fromXml(XmlElement elem)
-
factory
Properties
- analysisScheme → String?
-
The name of an analysis scheme for a
text-array
field.final - defaultValue → String?
-
A value to use for the field if the field isn't specified for a document.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- highlightEnabled → bool?
-
Whether highlights can be returned for the field.
final
- returnEnabled → bool?
-
Whether the contents of the field can be returned in the search results.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sourceFields → String?
-
A list of source fields to map to the field.
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