HomeSoftware Heritage

archive: Allow to search in origin metadata with swh-search backend

Description

archive: Allow to search in origin metadata with swh-search backend

Conditionally allow to use swh-search backend in search_origin_metadata
function based on swh-web configuration:

  • "search" configuration dict must be present and not empty
  • "metadata_search_backend" field must be set to "swh-search"

Closes T3047