MBEIR query instruction yamls point to an instruction file that's hard coded to the default Pyserini cache directory, eg
instruction_file: ~/.cache/pyserini/query_instructions/query_instructions.tsv
However, Pyserini generally allows a user-specified cache directory through the environment variable PYSERINI_CACHE. Example usage: https://github.com/castorini/pyserini/blob/master/pyserini/util.py#L248
This breaks things if the user has a different cache directory. Example breakage: MCP server
MBEIR query instruction yamls point to an instruction file that's hard coded to the default Pyserini cache directory, eg
instruction_file: ~/.cache/pyserini/query_instructions/query_instructions.tsvHowever, Pyserini generally allows a user-specified cache directory through the environment variable
PYSERINI_CACHE. Example usage: https://github.com/castorini/pyserini/blob/master/pyserini/util.py#L248This breaks things if the user has a different cache directory. Example breakage: MCP server