Enum FieldType
- Namespace
- TantivyDotNet
- Assembly
- TantivyDotNet.dll
The value type of a schema field.
public enum FieldType
Fields
Text = 0UTF-8 text. Tokenized by default; see AddStringField(string, bool, bool) for exact-match strings.
U64 = 1Unsigned 64-bit integer.
I64 = 2Signed 64-bit integer.
F64 = 364-bit floating point.
Bool = 4Boolean.
Date = 5Date and time, stored as UTC.
Bytes = 6Raw bytes (base64 in JSON documents).
Facet = 7Hierarchical category path such as
/genre/fiction; see AddFacetField(string, bool).Json = 8Schemaless JSON object; see AddJsonField(string, bool, bool, string).
IpAddress = 9IPv4 or IPv6 address; see AddIpAddressField(string, bool, bool, bool).
Other = 10A field type this version of TantivyDotNet doesn't know.