We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d2c5bd9 commit e67ec57Copy full SHA for e67ec57
src/Nest/Resolvers/Writers/WritePropertiesFromAttributeVisitor.cs
@@ -68,6 +68,11 @@ public void VisitBaseAttribute(IElasticPropertyAttribute att) {
68
this._jsonWriter.WritePropertyName("search_analyzer");
69
this._jsonWriter.WriteValue(att.SearchAnalyzer);
70
}
71
+ if (!att.DateFormat.IsNullOrEmpty())
72
+ {
73
+ this._jsonWriter.WritePropertyName("format");
74
+ this._jsonWriter.WriteValue(att.DateFormat);
75
+ }
76
if (att.Index != FieldIndexOption.analyzed)
77
{
78
this._jsonWriter.WritePropertyName("index");
0 commit comments