castorini / pyserini

Pyserini is a Python toolkit for reproducible information retrieval research with sparse and dense representations.
http://pyserini.io/
Apache License 2.0
1.57k stars 349 forks source link

Lucene query runtime #1929

Closed zhiqihuang closed 1 week ago

zhiqihuang commented 3 weeks ago

Hi,

When running Lucene, like the following:

python -m pyserini.search.lucene \
  --index indexes/sample_collection_jsonl \
  --topics tests/resources/sample_queries.tsv \
  --output run.sample.txt \
  --bm25

Is there a way to get the average runtime of each query? Thank you!