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
namestringField name.
storedboolReturn the value in search hits.
indexedboolMake the field searchable (term and range queries).
fastboolAdd a fast field, for sorting and aggregations.