mirror of
https://github.com/simon987/od-database.git
synced 2025-12-14 15:19:03 +00:00
Fixed indentation error
This commit is contained in:
@@ -406,7 +406,7 @@ class ElasticSearchEngine(SearchEngine):
|
||||
return stats
|
||||
|
||||
|
||||
def stream_all_docs(self):
|
||||
def stream_all_docs(self):
|
||||
return helpers.scan(query={
|
||||
"query": {
|
||||
"match_all": {}
|
||||
@@ -414,7 +414,7 @@ def stream_all_docs(self):
|
||||
}, scroll="5m", client=self.es, index=self.index_name)
|
||||
|
||||
|
||||
def are_empty(self, websites):
|
||||
def are_empty(self, websites):
|
||||
result = self.es.search(body={
|
||||
"query": {
|
||||
"bool": {
|
||||
|
||||
Reference in New Issue
Block a user