Open cmacdonald opened 5 years ago
I agree it would be good if interact
mode would mount topics and qrels directories.
Maybe we need an environment variable for the information about collections that were created? (E.g., store the JSON version of the parameters?)
It could be useful if they are already mounted during the prepare
step, then they are available for both search
and interact
. Saving the image after the search
step would also solve this issue, but then the interact
can only use the topics/qrels after search
.
@Chriskamphuis I think the idea of the images by @r-clancy is that they can handle multiple collections in the same container image. hence why they are not mounted once in prepare?
@cmacdonald Sure, we also support indexing multiple collection in one container. But in a similar fashion it also could be possible to support multiple topic/qrel files right? But I agree that if it is necessary to specify the files multiple times it is less elegant than your solution.
If I want to repeat a run in my interact hook, its a bit difficult as the topics/qrels arent mounted. Similarly with which collections are in use.