HomeSoftware Heritage

Enable to filter searched origins by visit types

Description

Enable to filter searched origins by visit types

Add a new visit_types field to elasticsearch document for origin.

Add a new optional visit_types parameter to origin_search method in
SearchInterface.

Implement visit types filtering in search backends, an origin wil be
returned if it has any of the requested visit types.

Send origin visit types to elasticsearch when processing origin visits
in journal client.

Related to T2869

Details