| commit | cb48c7121abf13d5c29760af5c9c9ec8b9960af2 | [log] [tgz] |
|---|---|---|
| author | Luca Cavanna <javanna@apache.org> | Thu Sep 12 16:19:22 2024 +0200 |
| committer | GitHub <noreply@github.com> | Thu Sep 12 16:19:22 2024 +0200 |
| tree | 092d74f46d3bac4c46aa4d2a30a8f4e3c568ec23 | |
| parent | 5359d36ba6759b436ca37e33a3bc4d43982989cc [diff] |
Lower number of hits in TestLargeNumHitsTopDocsCollector (#13775) There's two tests where we use 250_000 as number of collected hits, but we only ever index max 2000 docs. That makes use create a priority queue of size 250_000 for each segment partition which causes out of memory errors when the number of partitions is higher than a few. With this commit I propose that we lower the threshold to 2000 for those tests that need a high number of collected hits. The assumption that a priority queue is not built within the LargeNumHitsTopDocsCollector still holds so this change should not defeat the purpose of the tests.

Apache Lucene is a high-performance, full-featured text search engine library written in Java.
This README file only contains basic setup instructions. For more comprehensive documentation, visit:
gradlew).We‘ll assume that you know how to get and set up the JDK - if you don’t, then we suggest starting at https://jdk.java.net/ and learning more about Java, before returning to this README.
Bug fixes, improvements and new features are always welcome! Please review the Contributing to Lucene Guide for information on contributing.
#lucene and #lucene-dev on freenode.net