A tool for testing search relevance.
Python 3.10 (pyenv
recommended) is a prerequisite.
You can install with pip
(or pipx
) just by doing
pip install git+https://github.com/wellcomecollection/rank.git
Install poetry
, then run poetry install
in the root of the repo. You can run the command with poetry run rank
.
For example to run the works test against the p 5EAF ipeline-prod cluster, you can run the following command:
poetry run rank test \
--content-type=works \
--cluster=pipeline-prod \
--query=https://api.wellcomecollection.org/catalogue/v2