castorini / anserini

Anserini is a Lucene toolkit for reproducible information retrieval research
http://anserini.io/
Apache License 2.0
1.01k stars 444 forks source link

Webapp update #2525

Closed 16BitNarwhal closed 2 months ago

16BitNarwhal commented 2 months ago

following discussion of #2502

image

lintool commented 2 months ago

Additional thoughts about API design: maybe the route should be catalog? and asking whether or not it's downloaded should be a param?

lintool commented 2 months ago

Also, can you attach here a screenshot so I have an idea of what it looks like now?

16BitNarwhal commented 2 months ago

Additional thoughts about API design: maybe the route should be catalog? and asking whether or not it's downloaded should be a param?

Whoops, saw this a bit late. I was thinking /index/{index}/cached to check status and /indexes to list all

lintool commented 2 months ago

I think this is a good time to document the API in an MD, e.g., docs/rest-api.md or something like that?

Provide examples like this? https://github.com/castorini/anserini/blob/master/docs/fatjar-regressions/fatjar-regressions-v0.36.1.md#webapp-and-rest-api