Table of Contents

Method AddBytesField

Namespace
TantivyDotNet
Assembly
TantivyDotNet.dll

AddBytesField(string, bool, bool, bool)

Adds a bytes field. In JSON documents, values are base64 strings.

public SchemaBuilder AddBytesField(string name, bool stored = false, bool indexed = true, bool fast = false)

Parameters

name string

Field name.

stored bool

Return the value in search hits.

indexed bool

Make the field searchable (term and range queries).

fast bool

Add a fast field, for sorting and aggregations.

Returns

SchemaBuilder