Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions docs/changelog/133722.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pr: 133722
summary: Fix disk usage estimation for SORTED_SET doc values
area: Codec
type: bug
issues: []
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,7 @@ void analyzeDocValues(SegmentReader reader, IndexDiskUsageStats stats) throws IO
SortedSetDocValues sortedSet = iterateDocValues(maxDocs, () -> docValuesReader.getSortedSet(field), dv -> {
for (int i = 0; i < dv.docValueCount(); i++) {
cancellationChecker.logEvent();
dv.nextOrd();
}
});
if (sortedSet.getValueCount() > 0) {
Expand Down