Table of Contents

Enum FieldType

Namespace
TantivyDotNet
Assembly
TantivyDotNet.dll

The value type of a schema field.

public enum FieldType

Fields

Text = 0

UTF-8 text. Tokenized by default; see AddStringField(string, bool, bool) for exact-match strings.

U64 = 1

Unsigned 64-bit integer.

I64 = 2

Signed 64-bit integer.

F64 = 3

64-bit floating point.

Bool = 4

Boolean.

Date = 5

Date and time, stored as UTC.

Bytes = 6

Raw bytes (base64 in JSON documents).

Facet = 7

Hierarchical category path such as /genre/fiction; see AddFacetField(string, bool).

Json = 8

Schemaless JSON object; see AddJsonField(string, bool, bool, string).

IpAddress = 9

IPv4 or IPv6 address; see AddIpAddressField(string, bool, bool, bool).

Other = 10

A field type this version of TantivyDotNet doesn't know.