size limit for ryd missing rating query

pull/129/head
simon 3 years ago
parent 1c27934d77
commit 49cd272557
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4

@ -97,11 +97,12 @@ class Reindex:
"""get all videos without rating if ryd integration is enabled"""
headers = {"Content-type": "application/json"}
data = {
"size": 200,
"query": {
"bool": {
"must_not": [{"exists": {"field": "stats.average_rating"}}]
}
}
},
}
query_str = json.dumps(data)
url = self.es_url + "/ta_video/_search"

Loading…
Cancel
Save