
LeanFieldBinding<TDocument>
- Namespace
- Rowles.LeanCorpus.Mapping
- Assembly
- Rowles.LeanCorpus.dll
Field metadata for a LeanDocumentMap<TDocument>. The non-generic value type makes the binding collection iterable without knowing each field's CLR type.
public sealed class LeanFieldBinding<TDocument> : IFieldDescriptor
Type Parameters
TDocumentThe mapped document model type.
- Inheritance
-
LeanFieldBinding<TDocument>
- Implements
LeanFieldBinding(string, FieldType, bool, bool, bool)
Initialises a new LeanFieldBinding<TDocument>.
FieldType
The runtime FieldType emitted for this field.
IsIndexed
Whether the field is included in the inverted index.
IsRequired
Whether the field is required by the generated schema.
IsStored
Whether the field is persisted in stored fields.
Name
The field name used at indexing time.