
LeanTextAttribute
- Namespace
- Rowles.LeanCorpus.Mapping.Attributes
- Assembly
- Rowles.LeanCorpus.dll
Maps a string property to a TextField. The value passes through the analyser pipeline at indexing time.
[AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = false)]
public sealed class LeanTextAttribute : Attribute
- Inheritance
-
LeanTextAttribute
LeanTextAttribute(string)
Initialises a new LeanTextAttribute.
Name
The field name used at indexing time.
Required
Whether the field is required by the generated schema.
Stored
Whether the original value is persisted in stored fields. Defaults to true.