osirrc / jig

Jig for the Open-Source IR Replicability Challenge (OSIRRC)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Named Arguments vs. Positional Arguments

ryan-clancy opened this issue · comments

Currently, we call index and search with positional arguments (i.e., first param is the collection name) but we should change this to be named argument to support adding additional parameters in the future.

For index:

  • --collection_name: the names of the collection (mapped to /input/collections/<collection>

For search:

  • --topic: the name of the topic files (mapped to /input/topics/<topic>
  • --topic_format: the format of the topic files (i.e., TREC)

Fixed in #7