Update esIndexer.py

stevens_api
Rachel Kim 2020-05-07 22:14:37 -04:00 committed by GitHub
parent cecb4ae764
commit c0f7fb32d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ class ESIndexer():
if self.client.indices.exists(index=self.ccr_index) is False: if self.client.indices.exists(index=self.ccr_index) is False:
Renewal.init() Renewal.init()
def indexRecords(self, recType='ccr'): def indexRecords(self, recType='cce'):
"""Process the current batch of updating records. This utilizes the """Process the current batch of updating records. This utilizes the
elasticsearch-py bulk helper to import records in chunks of the elasticsearch-py bulk helper to import records in chunks of the
provided size. If a record in the batch errors that is reported and provided size. If a record in the batch errors that is reported and