Skip to content

Commit

Permalink
In sub agg path collect by converted ordinal, not active index
Browse files Browse the repository at this point in the history
Signed-off-by: Finn Carroll <[email protected]>
  • Loading branch information
finnegancarroll committed Aug 1, 2024
1 parent 9ab1447 commit 5c713c6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public final void tryOptimize(PointValues values, BiConsumer<Long, Long> increme

try {
incrementDocCount.accept(ord, (long) 1);
sub.collect(docID, activeIndex);
sub.collect(docID, ord);
} catch ( IOException ioe) {
throw new RuntimeException(ioe);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ public void tryOptimize(PointValues values, BiConsumer<Long, Long> incrementDocC

try {
incrementDocCount.accept(ord, (long) 1);
sub.collect(docID, activeIndex);
sub.collect(docID, ord);
} catch ( IOException ioe) {
throw new RuntimeException(ioe);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public final void tryOptimize(PointValues values, BiConsumer<Long, Long> increme

try {
incrementDocCount.accept(ord, (long) 1);
sub.collect(docID, activeIndex);
sub.collect(docID, ord);
} catch ( IOException ioe) {
throw new RuntimeException(ioe);
}
Expand Down

0 comments on commit 5c713c6

Please sign in to comment.