mirror of
https://github.com/macrozheng/mall.git
synced 2025-06-27 04:20:01 +00:00
修复ES nested类型无法自动创建问题
This commit is contained in:
parent
87610b30d5
commit
81ff4e32d1
@ -46,6 +46,6 @@ public class EsProduct implements Serializable {
|
||||
private Integer stock;
|
||||
private Integer promotionType;
|
||||
private Integer sort;
|
||||
@Field(type =FieldType.Nested)
|
||||
@Field(type = FieldType.Nested, fielddata = true)
|
||||
private List<EsProductAttributeValue> attrValueList;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user