Table of Contents

Method AddStringField

Namespace
TantivyDotNet
Assembly
TantivyDotNet.dll

AddStringField(string, bool, bool)

Adds an untokenized text field: the whole value is a single term. Use it for identifiers, tags and enum-like values that you match exactly or delete by (DeleteTerm(string, string)).

public SchemaBuilder AddStringField(string name, bool stored = false, bool fast = false)

Parameters

name string
stored bool
fast bool

Returns

SchemaBuilder