hotfix attempt 1

This commit is contained in:
simon987
2019-02-02 09:17:59 -05:00
parent dd3775cecd
commit 8ced4859f3
3 changed files with 6 additions and 3 deletions

View File

@@ -123,7 +123,9 @@ class ElasticSearchEngine(SearchEngine):
to_delete = helpers.scan(query={
"query": {
"match_all": {}
"term": {
"website_id": website_id
}
}
}, scroll="1m", client=self.es, index=self.index_name, request_timeout=120, routing=website_id)