beir-cellar / beir

A Heterogeneous Benchmark for Information Retrieval. Easy to use, evaluate your models across 15+ diverse IR datasets.
http://beir.ai
Apache License 2.0
1.57k stars 191 forks source link

org.apache.lucene.search.BooleanQuery$TooManyClauses: maxClauseCount is set to 1024 #151

Open 0ddAstronaut opened 1 year ago

0ddAstronaut commented 1 year ago

When I run the beir/pysirini-fastapi for the BM25 search algorithm on my customized dataset, there is an error on the terminal: org.apache.lucene.search.BooleanQuery$TooManyClauses: maxClauseCount is set to 1024 In this case, I would like to know if there is any way to change the parameter maxClauseCount to a larger number. I would be very grateful if you could help me with this.