Skip to content

fix(search): classify cached term absence as pruned before warmup - #6915

Open
PSeitz wants to merge 1 commit into
quickwit-oss:mainfrom
PSeitz:fix/term-absence-metric
Open

PSeitz wants to merge 1 commit into
quickwit-oss:mainfrom
PSeitz:fix/term-absence-metric

Conversation

@PSeitz

@PSeitz PSeitz commented Oct 20, 2026

Copy link
Copy Markdown
Collaborator

Summary

When the term-absence cache proves a split has no matches, warmup is skipped. Count this outcome as pruned_before_warmup rather than pruned_during_warmup.

Keep pruned_during_warmup for absence discovered by warmup itself. This only changes the outcome classification; search, caching, and resource accounting are unchanged.

Validation

  • make fmt
  • git diff --check
  • cargo nextest run -p quickwit-search test_negative_cache — all 4 tests passed.

@PSeitz
PSeitz requested a review from a team as a code owner October 20, 2026 17:33
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 20, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-20T17:35:51.977699Z 09157a3 PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

This branch has not been deployed

No deployments
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