Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wwwanlingxiao
mall
Commits
81ff4e32
Commit
81ff4e32
authored
Jan 12, 2023
by
macro
Browse files
修复ES nested类型无法自动创建问题
parent
87610b30
Changes
1
Hide whitespace changes
Inline
Side-by-side
mall-search/src/main/java/com/macro/mall/search/domain/EsProduct.java
View file @
81ff4e32
...
...
@@ -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
;
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment