HomeSoftware Heritage

Don't use refresh='wait_for' when updating origins.

Description

Don't use refresh='wait_for' when updating origins.

It makes origin update very slow, and was only useful for tests.

Instead, this commit adds a 'flush' endpoints that is called by
tests, because they need the indices to be refreshed to test
the results of a search query.

Details

Provenance
vlorentzAuthored on Dec 3 2019, 3:07 PM
vlorentzPushed on Dec 3 2019, 5:29 PM
Parents
rDSEAe6236d2d1be3: Add a 'sha1' field to origin documents, used for sorting.
Branches
Unknown
Tags
Unknown
Build Status
Buildable 9502
Build 13981: test-and-buildJenkins