Skip to content

Commit

Permalink
didn't figure out grow of size easily
Browse files Browse the repository at this point in the history
Signed-off-by: bowenlan-amzn <[email protected]>
  • Loading branch information
bowenlan-amzn committed Jan 30, 2025
1 parent 0200719 commit 05eb8ec
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -248,10 +248,8 @@ private void collectDocIdSet(DocIdSetIterator iter) throws IOException {
private void grow(int count) {
if (docIdSetBuilders[activeIndex] == null) {
docIdSetBuilders[activeIndex] = disBuilderSupplier.get();
currentAdder = docIdSetBuilders[activeIndex].grow(count);
} else {
currentAdder = docIdSetBuilders[activeIndex].grow(count);
}
currentAdder = docIdSetBuilders[activeIndex].grow(200_000);
}

private void countNode(int count) {
Expand Down

0 comments on commit 05eb8ec

Please sign in to comment.