HomeSoftware Heritage

api/server: Fix remote search server when using memory backend

Description

api/server: Fix remote search server when using memory backend

It can be useful to use a remote search server using the memory backend,
for instance in the docker environment to avoid spawning a costly
elasticsearch instance.

As this was never tested, there was an issue when trying to start
such remote search server so fix it and add tests.

Details

Provenance
anlambertAuthored on Sep 15 2022, 2:27 PM
anlambertPushed on Sep 15 2022, 3:43 PM
Differential Revision
D8485: api/server: Fix remote search server when using memory backend
Parents
rDSEA445f62d0eeda: query_language/tokens: Declare new visit types
Branches
Unknown
Tags
Unknown
References
tag: v0.16.1
Build Status
Buildable 31567
Build 49372: test-and-buildJenkins console · Jenkins