Commit 81ff4e32 authored by macro's avatar macro
Browse files

修复ES nested类型无法自动创建问题

parent 87610b30
...@@ -46,6 +46,6 @@ public class EsProduct implements Serializable { ...@@ -46,6 +46,6 @@ public class EsProduct implements Serializable {
private Integer stock; private Integer stock;
private Integer promotionType; private Integer promotionType;
private Integer sort; private Integer sort;
@Field(type =FieldType.Nested) @Field(type = FieldType.Nested, fielddata = true)
private List<EsProductAttributeValue> attrValueList; private List<EsProductAttributeValue> attrValueList;
} }
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment