File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed
src/main/java/de/ids_mannheim/korap Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 1- 0.64.5 2025-11-14
1+ 0.64.5 2025-11-21
22 - [maintenance] Update to Java 21 (diewald)
33 - [enhancement] Alter vcNamePattern to allow system VC names with less
44 than 3 characters (margaretha)
5+ - [bugfix] Making totalResult counter long to prevent overflows (diewald)
56
670.64.4 2025-09-17
78 - [feature] Added --progress option to Krill-Indexer (kupietz)
Original file line number Diff line number Diff line change @@ -1423,8 +1423,8 @@ public Result search (Krill ks) {
14231423 };
14241424
14251425 // Some initializations ...
1426- int i = 0 ; // matchcount
1427- int j = 0 ; // matchdoccount
1426+ long i = 0 ; // matchcount
1427+ long j = 0 ; // matchdoccount
14281428 int startIndex = kr .getStartIndex ();
14291429 int count = kr .getItemsPerPage ();
14301430 int hits = kr .getItemsPerPage () + startIndex ;
@@ -1686,8 +1686,8 @@ public Result search (Krill ks) {
16861686 if (itemsPerResource > 0 )
16871687 kr .setItemsPerResource (itemsPerResource );
16881688
1689- kr .setTotalResults (cutoff ? (long ) -1 : ( long ) i );
1690- kr .setTotalResources (cutoff ? (long ) -1 : ( long ) j );
1689+ kr .setTotalResults (cutoff ? (long ) -1 : i );
1690+ kr .setTotalResources (cutoff ? (long ) -1 : j );
16911691 }
16921692
16931693 catch (IOException e ) {
You can’t perform that action at this time.
0 commit comments