HomeSoftware Heritage

common/origin_save: Fix elasticsearch total hits extraction

Description

common/origin_save: Fix elasticsearch total hits extraction

Since the upgrade to elasticsearch 7.x in production, the parsing of the total hits
value was failing due to a breaking change in the JSON response format.

Details

Provenance
anlambertAuthored on Jan 17 2020, 11:40 AM
anlambertPushed on Jan 17 2020, 11:41 AM
Parents
rDWAPPS0d64b1848ad1: package.json: Upgrade dependencies
Branches
Unknown
Tags
Unknown
Build Status
Buildable 10164
Build 15079: Cypress tests for swh-web commitsJenkins
Build 15078: test-and-buildJenkins