How to fix jnius.JavaException from "query" being null #1906
-
Hello, I'm trying to use pyserini.search.lucene to do a bm25 retrieval run on an index created using pyserini.index.lucene. Here is the exact command I'm inputting: python -m pyserini.search.lucene My queries file is a jsonl file with each line being in the {"id": "1234", "text": "Insert query text here"} format. Upon running the above command, I get the following error: Traceback (most recent call last): Just because this information might be useful, here are my versions used: pyserini - 0.35.0 Anyone know what's going wrong? Let me know if you need more information, and thanks for your help! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
What's the format of |
Beta Was this translation helpful? Give feedback.
What's the format of
tot/topics-and-qrels/train-2024/queries_reformated.jsonl
? Most likely it's in a format Pyserini can't read...Reformat into a TSV?