Table of Contents

Method AddBoolField

Namespace
TantivyDotNet
Assembly
TantivyDotNet.dll

AddBoolField(string, bool, bool, bool)

Adds a boolean field.

public SchemaBuilder AddBoolField(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