Skip to content

Update the docs after 7.7 release - #3896

Merged
a-TODO-rov merged 3 commits into
mainfrom
7.7-docs-update
Aug 21, 2026
Merged

a-TODO-rov merged 3 commits into
mainfrom
7.7-docs-update

Conversation

@a-TODO-rov

@a-TODO-rov a-TODO-rov commented Aug 21, 2026 •

Copy link
Copy Markdown
Collaborator

Update the docs after 7.7 release


Note

Low Risk
Documentation and site navigation only; no runtime, API, or security code changes.

Overview
Documents Lettuce 7.7 after release: RedisBloom/probabilistic structures are now listed as natively supported, with a new user guide covering Bloom Filter, Cuckoo Filter, Top-K, Count-Min Sketch, and T-Digest on the standard command APIs.

Also expands the 7.7 “What’s new” list (SUNIONCARD/SDIFFCARD, LMOVEM/BLMOVEM, stream MAXCOUNT/MAXSIZE, FT.ALIASLIST, VISMEMBER, CLIENT NO-TOUCH) and adds the guide to the MkDocs nav.

Reviewed by Cursor Bugbot for commit 3604614. Bugbot is set up for automated code reviews on this repo. Configure here.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 5a6dc28a68

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread docs/user-guide/probabilistic.md Outdated
`bfReserve` can be tuned further with `BfReserveArgs`, and `bfInsert` combines reserve-and-add in a single call:

```java
commands.bfReserve("events", 0.001, 1_000_000, BfReserveArgs.expansion(4).nonScaling());

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Call the nested argument builders

When readers copy any of the tuned examples, the code does not compile because these argument classes expose their static entry points through the nested Builder class, not directly on the argument class. Use BfReserveArgs.Builder.expansion(...) and make the same correction for BfInsertArgs, CfReserveArgs, TopKReserveArgs, and TDigestMergeArgs; otherwise all five configuration examples are unusable.

Useful? React with 👍 / 👎.

Comment thread docs/user-guide/probabilistic.md Outdated
CMSInfoValue info = commands.cmsInfo("hits");

// Merge several source sketches into a destination (all created with the same dimensions)
commands.cmsInitByDim("merged", 2000, 5);

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Initialize the merge destination with matching dimensions

For readers running this example, hits was initialized above using cmsInitByProb(..., 0.001, 0.0001), whose probability-derived depth is not 5, while CMS.MERGE requires identical width and depth for every sketch. Initializing merged as (2000, 5) therefore makes the immediately following merge fail; initialize both sketches with the same explicit dimensions or derive the destination dimensions from cmsInfo.

Useful? React with 👍 / 👎.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 6fe860cab2

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread docs/user-guide/probabilistic.md Outdated

Boolean added = commands.bfAdd("visitors", "alice"); // true — newly added
Boolean exists = commands.bfExists("visitors", "alice"); // true
Boolean missing = commands.bfExists("visitors", "bob"); // false (guaranteed correct)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Avoid guaranteeing the result for an unseen item

When the configured filter produces a false positive (up to 1% here), an item that was never added, such as bob, can still make bfExists return true; only a returned false is guaranteed to mean absence. This comment therefore teaches a deterministic result that Bloom filters do not provide, so phrase the guarantee conditionally instead.

Useful? React with 👍 / 👎.

@a-TODO-rov
a-TODO-rov merged commit 3894a78 into main Aug 21, 2026
10 of 11 checks passed
@a-TODO-rov
a-TODO-rov deleted the 7.7-docs-update branch August 21, 2026 09:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

⌂ 换网址