guarantee stats in mapping for sort

This commit is contained in:
simon 2022-04-15 15:03:43 +07:00
parent 80c76c22ca
commit f71644c8bc
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4

View File

@ -193,6 +193,22 @@
} }
} }
}, },
"stats" : {
"properties" : {
"average_rating" : {
"type" : "float"
},
"dislike_count" : {
"type" : "long"
},
"like_count" : {
"type" : "long"
},
"view_count" : {
"type" : "long"
}
}
},
"subtitles": { "subtitles": {
"properties": { "properties": {
"ext": { "ext": {