Page MenuHomeSoftware Heritage

Add support for using swh-search for URL search.
ClosedPublic

Authored by vlorentz on Jan 7 2020, 3:49 PM.

Details

Summary

Unlike D2196, this diff keeps support for using swh-storage for search, in case
we want to quickly revert to it with no code change. But in the future,
we may want to remove this fallback.

Diff Detail

Repository
rDWAPPS Web applications
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

vlorentz created this revision.Jan 7 2020, 3:49 PM
vlorentz edited the summary of this revision. (Show Details)Jan 7 2020, 3:50 PM
anlambert accepted this revision.Jan 7 2020, 5:16 PM
anlambert added a subscriber: anlambert.

Looks good !

Based on which search backend we will want to use for the next deployment of swh-web,
the webapp configuration should be updated in puppet files from swh-site (otherwise the
default value set in config.py will be picked).

This revision is now accepted and ready to land.Jan 7 2020, 5:16 PM
This revision was automatically updated to reflect the committed changes.