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
1 changed files with 16 additions and 0 deletions

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": {
"properties": {
"ext": {