-
- Downloads
Don't use refresh='wait_for' when updating origins.
It makes origin update very slow, and was only useful for tests. Instead, this commit adds a 'flush' endpoints that is called by tests, because they need the indices to be refreshed to test the results of a search query.
Showing
- swh/search/elasticsearch.py 7 additions, 3 deletionsswh/search/elasticsearch.py
- swh/search/in_memory.py 3 additions, 0 deletionsswh/search/in_memory.py
- swh/search/tests/test_cli.py 4 additions, 0 deletionsswh/search/tests/test_cli.py
- swh/search/tests/test_search.py 9 additions, 0 deletionsswh/search/tests/test_search.py
Loading