Repository navigation
Document BITRANGEINTARRAY offset ranges, ZEROS, and pagination - #4304
dwdougherty merged 6 commits into
Conversation
dwdougherty
left a comment
There was a problem hiding this comment.
Thank you, @aviggiano. Approved.
|
May I go ahead and merge this PR? |
|
there's a small discussion around limits, so can you wait before the other one is merged? |
|
Will do. |
|
Hi @aviggiano. Are you still waiting for more info. about this PR? If not, may I go ahead and merge it? |
|
It's still unfinished. We can mark this a draft PR for the moment |
|
@aviggiano redis/redis#15986 merged, pls update this PR, thx. |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
@dwdougherty Updated to match the merged command. Could you review and remove |
|
Good to merge? |
|
@dwdougherty good to merge now |
|
\0/ ! |
* DEV: (feat/cmds) docs for CMS enhancements in 8.12 (#3953) * DEV: (feat/cmds) docs for blessed keys in 8.12 (#4012) * Document aof_cmd_duration in INFO persistence (#4006) Co-authored-by: Cursor <[email protected]> * DEV: docs for HNSW compression in 8.12 (#4106) * DEV: docs for HNSW compression in 8.12 * Apply review suggestion Clarified that disk-based vector indexes ignore both COMPRESSION and TRAINING_THRESHOLD. * DEV: (feat) docs for streams observability metrics MVP in 8.12 (#4140) * DEV: (feat) docs for streams observability metrics MVP in 8.12 * Update content/develop/data-types/streams/_index.md Co-authored-by: mich-elle-luna <[email protected]> --------- Co-authored-by: mich-elle-luna <[email protected]> * DEV: (cmds) JSON: auto-create deep paths in 8.12 (#4257) * DEV: (cmds) JSON: auto-create deep paths in 8.12 * Apply review comments. Co-authored-by: andy-stark-redis <[email protected]> --------- Co-authored-by: andy-stark-redis <[email protected]> * DEV: (cmds) docs for new INFO command streams section (#4274) * DEV: (cmds) docs for new INFO command streams section * Apply review comments. Co-authored-by: andy-stark-redis <[email protected]> --------- Co-authored-by: andy-stark-redis <[email protected]> * OP: add docs for named TLS in 8.12 (#4289) * Document native Roaring bitmaps for Redis 8.12 (#3715) * Document native Roaring bitmaps * Keep Roaring details in bitmap guide * Target Roaring bitmap docs to Redis 8.12 * Clarify native bitmap replication docs Signed-off-by: Antonio Viggiano <[email protected]> * Document native bitmap integer arrays and benchmark methodology * Clarify bitmap rank argument validation order * Regenerate bitmap command references and clarify internal replay * Document internal bitmap replay commands * Document consolidated bitmap integer-array command * Clarify the consolidated bitmap integer-array command * Document bitmap range validation before key lookup * Change warning format in bitmaps documentation Updated warning syntax for Roaring bitmap creation instructions. --------- Signed-off-by: Antonio Viggiano <[email protected]> Co-authored-by: David Dougherty <[email protected]> * DEV: update modules API page for 8.12 release (#4306) * DEV: update modules API page for 8.12 release * Apply batched suggestions from code review Co-authored-by: mich-elle-luna <[email protected]> --------- Co-authored-by: mich-elle-luna <[email protected]> * Document BITRANGEINTARRAY offset ranges, ZEROS, and pagination (#4304) * Document negative bitmap ranks and the shared range limit * Document bitmap range validation after key lookup * Document uncapped bitmap enumeration and range truncation * Document conditional string reads for BITRANGEINTARRAY * Document bitmap value selection, offset ranges, and LIMIT pagination * Align BITRANGEINTARRAY docs with merged ZEROS syntax * DEV: (cmds) docs for set member expiration in 8.12 (#4337) * DEV: (cmds) docs for set member expiration in 8.12 * Apply changes from review. * Apply changes from upstream merge commit * DEV: add redis-8-12-commands.md page (#4421) * DEV: add 8.12 what's new page (#4422) * OP: update OSS version management page for 8.12 (#4423) * DEV: update data/commands_core.json from 8.12 GA build (#4436) * Remove 8.12 release notes; point to redis/redis repo * Document atomic sorted-set moves and BYSCORE batch claims (#4522) * Document sorted-set move batches and destination conditions * Document positive COUNT validation for sorted-set moves * Document the ZMOVEMEMBER MEMBERS block * Clarify final BZMOVE behavior after core merge * Add new sorted set cmds to summary page * Update module API page * Update what's new for features added in 8.12-rc3 * Add compat. info to new sorted set commands * Modify ACL categories for two bless commands * Update config page to point to 8.12 config --------- Signed-off-by: Antonio Viggiano <[email protected]> Co-authored-by: yinon-bit <[email protected]> Co-authored-by: Cursor <[email protected]> Co-authored-by: mich-elle-luna <[email protected]> Co-authored-by: andy-stark-redis <[email protected]> Co-authored-by: Antonio Viggiano <[email protected]> Co-authored-by: fcenedes <[email protected]>
Updates the bitmap documentation to match merged redis/redis#15986:
BITRANGEINTARRAY key start end [BYTE|BIT] [LIMIT count] [ZEROS].ZEROS, inclusive offset ranges, direct string reads, and BIT/BYTE pagination.Validation against merge commit
157e3f3b: 23 focused feature tests, 66 documented command/reply checks across RESP2/RESP3, 12,800 range/LIMIT checks, and 768 pagination sequences passed. Metadata, generator idempotence, SVG, YAML, links, and patch checks passed. Full-site rendering was not run because Hugo is unavailable.Note
Low Risk
Documentation-only changes with no server or client runtime impact; risk is limited to possible doc inaccuracies for integrators.
Overview
Updates Redis docs to match the consolidated
BITRANGEINTARRAYbehavior from redis/redis#15986, replacing the old element-rank model withBITCOUNT-style byte/bit ranges and new optional flags.The command reference (
bitrangeintarray.md) now documentsBYTE | BIT,LIMIT count, andZEROS, revised arity/metadata, complexity, reply semantics (range clamped to value length, pagination rules), and expanded examples—including string-backed bitmaps read without conversion. The syntax railroad diagram reflects the optional arguments.The bitmaps guide rewrites the integer-array section for offset-based enumeration,
LIMITpaging (BITvsBYTEcontinuation), clear-bit reads, and compatibility with both string and native Roaring keys under anybitmap-default-roaringsetting; read-only commands are clarified as not changing stored representation.Benchmark guidance notes the harness maps module ranks to equivalent native bit offset ranges, and that historical numbers do not cover
ZEROS,LIMIT, or string scans.Reviewed by Cursor Bugbot for commit e23604d. Bugbot is set up for automated code reviews on this repo. Configure here.