
LeanStringAttribute
- Namespace
- Rowles.LeanCorpus.Mapping.Attributes
- Assembly
- Rowles.LeanCorpus.dll
Maps a string property to a StringField. The value is indexed verbatim and does not pass through the analyser.
[AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = false)]
public sealed class LeanStringAttribute : Attribute
- Inheritance
-
LeanStringAttribute
LeanStringAttribute(string)
Initialises a new LeanStringAttribute.
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.