Rowles.LeanCorpus.Mapping.Attributes
Classes
LeanDocumentAttribute
Marks a class or struct as a LeanCorpus document model. The source generator emits a paired
{TypeName}Indexstatic class with field descriptors,ToDocument,FromStoredDocument, andCreateSchemamembers.
LeanGeoPointAttribute
Maps a LeanGeoLocation property to a GeoPointField.
LeanIgnoreAttribute
Excludes a property from generated document mapping. The property is ignored entirely; no field descriptor, schema entry, or mapping code is emitted for it.
LeanNumericAttribute
Maps a numeric, temporal, or decimal property to a NumericField (or a StoredField when Encoding is DecimalAsString).
LeanStoredAttribute
Maps a stored-only property to either a StoredField (for string) or a BinaryField (for byte[]). The field is not indexed.
LeanStringAttribute
Maps a string property to a StringField. The value is indexed verbatim and does not pass through the analyser.
LeanTextAttribute
Maps a string property to a TextField. The value passes through the analyser pipeline at indexing time.
LeanVectorAttribute
Maps a dense float vector property to a VectorField. The property type must be float[], and Dimension must be set to the expected length.