We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c8781c commit 6185ba6Copy full SHA for 6185ba6
x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/stats/SearchStats.java
@@ -232,8 +232,8 @@ private interface DocCountTester {
232
//
233
// @see org.elasticsearch.search.query.QueryPhaseCollectorManager#shortcutTotalHitCount(IndexReader, Query)
234
235
- private static int countEntries(IndexReader indexReader, String field) {
236
- int count = 0;
+ private static long countEntries(IndexReader indexReader, String field) {
+ long count = 0;
237
try {
238
for (LeafReaderContext context : indexReader.leaves()) {
239
LeafReader reader = context.reader();
0 commit comments