Commit 4fef0116 authored by Katia Saurfelt's avatar Katia Saurfelt
Browse files

[elasticserach] elasticsearch.client.Elasticsearch.index expect a string as...

[elasticserach] elasticsearch.client.Elasticsearch.index expect a string as value of `refresh` param
parent e94a0c104406
......@@ -221,7 +221,7 @@ class ESTransactionQueue(EsRegistry):
if self._cw.deleted_in_transaction(entity.eid):
es_method = indexer.es_delete
elif es_operation['op_type'] == 'index':
es_method = partial(indexer.es_index, params={'refresh': True})
es_method = partial(indexer.es_index, params={'refresh': 'true'})
elif es_operation['op_type'] == 'delete':
es_method = indexer.es_delete
else:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment