osirrc / jig

Jig for the Open-Source IR Replicability Challenge (OSIRRC)
13 stars 3 forks source link

interact hook is unclear #59

Open cmacdonald opened 5 years ago

cmacdonald commented 5 years ago

I wasn't on slack, so perhaps I missed this, but I'm not sure on the purpose of the interact hook -- the README.md states: "to prepare for user interaction".

Is there a "user interaction"? Does this just mean "preparation before the search hook is called". What might we expect to go there?

lintool commented 5 years ago

The canonical case is Elasticsearch. Preparing for user interaction means spin up the daemons so the user can point a browser at the UI and play with its features.

For other images, it can just be running the shell... so users can ssh in and poke around - look at code, indexes, etc.

arjenpdevries commented 5 years ago

Terrier notebooks Craig!

lintool commented 5 years ago

Oh, that's a great idea!

The interact hook for Terrier would spin up its notebook and let users play with it...

arjenpdevries commented 5 years ago

Here's our take: https://github.com/osirrc/olddog-docker/commit/d20aa889f4808a87b30072f50eae8d718421344a

Basically, just start the database. Using docker exec -it olddog-docker-interact mclient -d robust04 you can then issue SQL queries on the document representations.