Type enum

Enumerates the allowed field types.

Type.auto and Type.stringify are special field types that are used for handling data sources with varying schema via automatic schema detection.

  • Type.auto is used to let Typesense detect the type of the fields automatically.

  • Type.stringify (string*) is a way to store the field value (both singular and multi-value/array values) as string.

Type.geopoint is used to index locations, filter and sort on them.

Inheritance

Constructors

Type()
const

Values

string → const Type
int32 → const Type
int64 → const Type
float → const Type
bool → const Type
auto → const Type
stringify → const Type
geopoint → const Type
object → const Type

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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

Constants

values → const List<Type>
A constant List of the values in this enum, in order of their declaration.