Muninn.Schema.Field (Muninn v0.5.5)
View SourceRepresents a field in a Muninn schema.
Summary
Types
Functions
@spec new(field_type(), String.t(), keyword()) :: t()
Creates a new field.
Options
:stored- Whether to store the field value (default:false):indexed- Whether to index the field (default:true):fast- Whether to enable fast field (columnar) storage (default:false). Required for sorting and aggregations on numeric fields.:tokenizer- Tokenizer to use for text fields (default:nil, uses"default"). Built-in options:"default","raw","en_stem","whitespace".
Converts a field to a map representation.