Skip to content

Commit fc512db

Browse files
committed
Fix store value incorrectly serializing to 'yes' instead of 'true' when mapping from attribute
1 parent caabf36 commit fc512db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Nest/Resolvers/Writers/WritePropertiesFromAttributeVisitor.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ public void VisitBaseAttribute(IElasticPropertyAttribute att) {
105105
if (att.Store)
106106
{
107107
this._jsonWriter.WritePropertyName("store");
108-
this._jsonWriter.WriteValue("yes");
108+
this._jsonWriter.WriteValue("true");
109109
}
110110
if (att.Boost != 1)
111111
{

0 commit comments

Comments
 (0)