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