
FieldMapping
- Namespace
- Rowles.LeanLucene.Index.Indexer
- Assembly
- Rowles.LeanLucene.dll
Describes the expected type and behaviour of a single field in an IndexSchema.
public sealed class FieldMapping
FieldMapping
FieldMapping(string, FieldType)
Initialises a new FieldMapping for the specified field name and type.
Analyser
Optional analyser override for this field. Null means use the schema/writer default.
FieldType
The expected field type.
IsIndexed
Whether the field should be indexed. Default: true.
IsRequired
Whether the field is required on every document. Default: false.
IsStored
Whether the field value should be stored. Default: false.
Name
The field name this mapping applies to.