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.
2 parents 1d651dd + e67ec57 commit cf56f05Copy full SHA for cf56f05
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