Named Arguments vs. Positional Arguments
ryan-clancy opened this issue · comments
Ryan Clancy commented
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
)
Ryan Clancy commented
Fixed in #7