Skip to content

[Backport 10x] Add bulk decode for dense NumericDocValues via longValues()#16136

Closed
costin wants to merge 2 commits into
apache:branch_10xfrom
costin:backport_10x_16129
Closed

[Backport 10x] Add bulk decode for dense NumericDocValues via longValues()#16136
costin wants to merge 2 commits into
apache:branch_10xfrom
costin:backport_10x_16129

Conversation

@costin
Copy link
Copy Markdown
Contributor

@costin costin commented May 27, 2026

Description

Backport - #16129

costin added 2 commits May 27, 2026 16:36
Add byte-aligned bulk decoding for dense numeric doc values so contiguous
batches can avoid per-document packed-value lookups.
Add docsOffset and valuesOffset parameters following the
same convention as rangeIntoBitSet and System.arraycopy.
The 4-arg longValues delegates to the 6-arg variant.

Update bulkDecodeByteAlignedValues and all codec overrides
to thread offsets through, with loop variables starting at
the offset to avoid per-iteration addition.

Also expand the JMH benchmark to cover all byte-aligned
BPV values (24, 40, 48, 56) alongside power-of-two widths.
@costin
Copy link
Copy Markdown
Contributor Author

costin commented May 27, 2026

The CI failures appear unrelated to this PR. branch_10x uses gradle/actions v5.0.0 which was removed from the Actions allowlist, while main was bumped to v6.1.0 on May 2 and passes fine. Looks the workflows are out of sync.

@dweiss could you please help out?
Thanks!

@benwtrent
Copy link
Copy Markdown
Member

backported directly

@benwtrent benwtrent closed this May 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants