Skip to content
Snippets Groups Projects

Add basic support for an origin blocklist

This adds a boolean field, "blocklisted", to the origin documents. When this field is true, the documents are not returned in search results.

The blocklist field is sticky for updates, meaning that another run of the swh.search journal client (or further visits of the origin) will keep the origin hidden from search results.

Related to #3224 (closed).

Test Plan

Added tests for the new behavior


Migrated from D5465 (view on Phabricator)

Merge request reports

Approved by

Closed by Phabricator Migration userPhabricator Migration user 3 years ago (Apr 8, 2021 3:37pm UTC)

Merge details

  • The changes were not merged into generated-differential-D5465-target.

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading