Skip to content

Reject empty document clustering configurations - #6668

Merged
fulmicoton merged 1 commit into
mainfrom
mallets/clustering-config
Aug 7, 2026
Merged

Reject empty document clustering configurations#6668
fulmicoton merged 1 commit into
mainfrom
mallets/clustering-config

Conversation

@Mallets

@Mallets Mallets commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Summary

  • reject docs_clustering: [] during node configuration validation
  • prevent no-op clustering from triggering document-store rewrites
  • add regression coverage for empty policy lists

Test plan

  • cargo test -p quickwit-config docs_clustering
  • make fmt

Prevent enabling document clustering without policies, which otherwise triggers unnecessary split rewriting.
@Mallets
Mallets marked this pull request as ready for review August 7, 2026 07:58
@Mallets
Mallets requested a review from a team as a code owner August 7, 2026 07:58
@fulmicoton
fulmicoton merged commit b16284f into main Aug 7, 2026
9 checks passed
@fulmicoton
fulmicoton deleted the mallets/clustering-config branch August 7, 2026 08:13
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.

2 participants