Skip to content

Upgrade tantivy to 0.26#30

Merged
rdettai-sk merged 2 commits intosekoiafrom
upgrade-tantivy-026
Apr 15, 2026
Merged

Upgrade tantivy to 0.26#30
rdettai-sk merged 2 commits intosekoiafrom
upgrade-tantivy-026

Conversation

@rdettai-sk
Copy link
Copy Markdown
Collaborator

Description

Move to Tantivy 0.26. The previous patches and composite aggregations are included.

How was this PR tested?

Describe how you tested this PR.

Copilot AI review requested due to automatic review settings April 15, 2026 07:56
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates Quickwit’s Tantivy dependency to the upstream tantivy crate v0.26, replacing the prior git-rev dependency, and adjusts indexing directory wrapper code to match updated trait bounds.

Changes:

  • Switch tantivy dependency from a git revision to crates.io tantivy = 0.26.0 with existing feature flags.
  • Update ControlledDirectory writer types to use dyn TerminatingWrite + Send + Sync to match Tantivy 0.26 expectations.
  • Refresh Cargo.lock to reflect the new Tantivy release and transitive dependency graph changes.

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 1 comment.

File Description
quickwit/quickwit-indexing/src/controlled_directory.rs Updates TerminatingWrite trait object bounds to include Send + Sync for Tantivy 0.26 compatibility.
quickwit/Cargo.toml Moves Tantivy from a git dependency to crates.io v0.26.0 (keeps feature set).
quickwit/Cargo.lock Updates lockfile for Tantivy 0.26.0 and related transitive dependency changes.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread quickwit/Cargo.toml Outdated
@rdettai-sk rdettai-sk force-pushed the upgrade-tantivy-026 branch from ec438ea to bc6c26a Compare April 15, 2026 10:44
@rdettai-sk rdettai-sk force-pushed the upgrade-tantivy-026 branch from bc6c26a to 68b9c84 Compare April 15, 2026 11:55
@rdettai-sk rdettai-sk requested a review from Darkheir April 15, 2026 11:57
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Some changes affected how these are calculated, but the assertions changed here were actually lacking precision already (floating point and approx cardinality).

@rdettai-sk rdettai-sk merged commit 33cc394 into sekoia Apr 15, 2026
3 checks passed
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