elasticsearch.helpers.errors.BulkIndexError

From wikieduonline
Jump to navigation Jump to search

elasticsearch.helpers.errors.BulkIndexError: ('1 document(s) failed to index.', [{'update': {'_index': 'your_index_name', '_type': '_doc', '_id': .../..)
elasticsearch.helpers.errors.BulkIndexError: ('1 document(s) failed to index.', [{'update': {'_index': 'your_index_name', '_type': '_doc', '_id': .../... , 'status': 409, 'error': {'type': 'version_conflict_engine_exception', 'reason': 'XXXXX: version conflict, required seqNo [1090261855], primary term [1058]. current document has seqNo [1090269199] and primary term [1058]', 'index_uuid': '-WF9g37sRDa-9R_123456', 'shard': '0', 'index': 'watchlist_record'}, 'data': {'.../... 'updated_at': datetime.datetime(2022, 9, 26, 23, 3, 39, 431844)}}}}])


Related[edit]

conflicts=proceed
refresh=wait_for
_update_by_query [1]

See also[edit]

  • https://github.com/elastic/elasticsearch/issues/22723#issuecomment-274156818
  • Advertising: