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

This commit is contained in:
macro 2023-01-12 16:33:58 +08:00
parent 87610b30d5
commit 81ff4e32d1

View File

@ -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;
}