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
Depends on swh-search!128 (closed)
Migrated from D5087 (view on Phabricator)