Skip to content

MBEIR query instructions hard coded to default Pyserini cache directory #2475

@lilyjge

Description

@lilyjge

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions