castorini / anserini

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

Try out new REST API - connect with RankLLM #2495

Closed lintool closed 5 months ago

lintool commented 5 months ago

From @16BitNarwhal - pull latest master.

Run:

java -cp `ls target/*-fatjar.jar` io.anserini.server.Application --server.port=8081

Go to localhost:8081 and play with UI.

Use the REST API:

curl -X GET "http://localhost:8081/api/collection/msmarco-v2.1-doc/search?query=How%20does%20the%20process%20of%20digestion%20and%20metabolism%20of%20carbohydrates%20start" 

@ronakice @sahel-sh see if it works with rank_llm as you envisioned.

lintool commented 5 months ago

This is now available in the v0.36.1 artifact directly: https://github.com/castorini/anserini/blob/master/docs/fatjar-regressions/fatjar-regressions-v0.36.1.md