Add and implement SearchInterface.origin_delete()
To enable `swh alter removal` to fully remove origins from the archive, we need to be able to remove origins from ElasticSearch. As ElasticSearch indexes a document per origin, referenced by the origin URL, removing references to an origin is as simple as removing the associated document. Closes #4652
parent
c7270281
No related branches found
Tags v0.0.4
Showing
- swh/search/elasticsearch.py 8 additions, 0 deletionsswh/search/elasticsearch.py
- swh/search/in_memory.py 12 additions, 0 deletionsswh/search/in_memory.py
- swh/search/interface.py 9 additions, 0 deletionsswh/search/interface.py
- swh/search/tests/test_search.py 22 additions, 0 deletionsswh/search/tests/test_search.py
Loading
Please register or sign in to comment