fix
This commit is contained in:
parent
a69dc52192
commit
2c5028ad70
1 changed files with 2 additions and 2 deletions
|
|
@ -41,9 +41,9 @@ class ElasticSearchDb:
|
|||
}
|
||||
}
|
||||
|
||||
self.es.create('english-false-prediction',request_body)
|
||||
self.create('english-false-prediction',request_body)
|
||||
|
||||
|
||||
for val in docDict:
|
||||
|
||||
self.es.ingest('english-false-prediction',val,'category_prediction')
|
||||
self.ingest('english-false-prediction',val,'category_prediction')
|
||||
|
|
|
|||
Loading…
Reference in a new issue