Table of Contents

Public classSealed 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

Public constructor FieldMapping(string, FieldType)

Initialises a new FieldMapping for the specified field name and type.

Public property Analyser

Optional analyser override for this field. Null means use the schema/writer default.

Public property FieldType

The expected field type.

Public property IsIndexed

Whether the field should be indexed. Default: true.

Public property IsRequired

Whether the field is required on every document. Default: false.

Public property IsStored

Whether the field value should be stored. Default: false.

Public property Name

The field name this mapping applies to.