Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

interact hook is unclear #59

Open
cmacdonald opened this issue Apr 24, 2019 · 4 comments
Open

interact hook is unclear #59

cmacdonald opened this issue Apr 24, 2019 · 4 comments

Comments

@cmacdonald
Copy link
Member

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?

  • e.g. optimisation of the index??
@lintool
Copy link
Member

lintool commented Apr 24, 2019

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
Copy link
Member

Terrier notebooks Craig!

@lintool
Copy link
Member

lintool commented Apr 24, 2019

Oh, that's a great idea!

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

@arjenpdevries
Copy link
Member

arjenpdevries commented Jun 19, 2019

Here's our take:
osirrc/olddog-docker@d20aa88

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants