mirror of
https://github.com/simon987/od-database.git
synced 2025-04-19 10:26:44 +00:00
Fixed indentation error
This commit is contained in:
parent
4c9d79fdbf
commit
9ff21e7943
@ -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": {
|
||||
|
Loading…
x
Reference in New Issue
Block a user