Skip to content

chore(deps): bump tantivy from 0.22.1 to 0.27.0 - #48

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/tantivy-0.27.0
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/tantivy-0.27.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

Bumps tantivy from 0.22.1 to 0.27.0.

Release notes

Sourced from tantivy's releases.

Tantivy v0.26.1

What's Changed

... (truncated)

Changelog

Sourced from tantivy's changelog.

Tantivy 0.27.0

Breaking change

  • MSRV is now 1.88.
  • .set_fast(..) now takes a &str. The same behavior as .set_fast(None) can be obtained with .set_fast(tantivy::tokenizer::RAW_TOKENIZER_NAME). #3020 #3029(@​fulmicoton @​trinity-1686a)
  • Added the FieldType::TieBreaker variant; exhaustive matches on FieldType need a new arm.
  • Segment plugins add Custom variants to FieldType, Type, OwnedValue, ReferenceValueLeaf and SegmentComponent, and new TantivyError variants. SegmentComponent is no longer Copy, SegmentSerializer is removed and IndexMerger::write now takes a &Segment #2993(@​rebasedming)
  • IndexSettings has a new public sort_by_field field, and ColumnarWriter::serialize / FastFieldsWriter::serialize take an optional doc id mapping #2959(@​rebasedming)
  • Directory writers only need terminate(), not flush(). RamDirectory::deep_clone is removed #3095(@​PSeitz)
  • BooleanWeight::new is removed; use BooleanWeight::with_minimum_number_should_match #3071(@​fulmicoton)
  • SumAggregation has a new none_if_no_match field #2878(@​mdashti)
  • IntermediateTermBucketResult::entries() returns a slice instead of a hash map, and intermediate aggregation results no longer implement PartialEq #3040(@​PSeitz)
  • Per-segment aggregation request data types (*AggReqData) and columnar::ColumnBlockAccessor are no longer public #3110 #3066(@​fulmicoton)
  • tantivy-sstable: BlockReader::from_multiple_blocks and DeltaReader::from_multiple_blocks take the first term ordinal of each block #3030(@​flow3d)
  • CompactDoc::node_data is no longer public #3175(@​fulmicoton-dd)

Bugfixes

  • Aggregation
    • Fix range and histogram aggregations counting a document several times when several values of a multivalued field fall into the same bucket #3150(@​PSeitz)
    • Fix terms aggregation on numeric values not merging equal keys across segments with different column types (e.g. u64 and i64 in a JSON field) #3051(@​fulmicoton)
    • Fix wrong sub-aggregation results when the terms aggregation missing value also exists as a real term #3163(@​PSeitz)
    • Fix panic in terms aggregation on text fields when missing is used with include/exclude #2907(@​barbarj)
    • Composite aggregation now always returns after_key on a non-empty page, like Elasticsearch #2910(@​Abdul-Andha)
    • Use upstream datasketches for cardinality aggregation, fixing sketch LIST serialization, and switch to HLL8 #2936(@​fulmicoton)
    • Fix possible out-of-bounds write in terms aggregation on corrupt index files #3182(@​fulmicoton-dd)
  • Query Parser
  • Fix DisjunctionMaxQuery and other non-summing score combiners being scored as a sum with TopDocs #3022(@​marcbachmann)
  • Fix range queries with fractional bounds on integer columns (>= 1.5 no longer matches 1) #3074(@​fulmicoton)
  • Fix Streamer::term_ord() returning wrong ordinals when an automaton prunes dictionary blocks #3030(@​flow3d)
  • Fix FacetCollector returning a facet from an unrelated branch #2867(@​majiayu000)
  • Fix dates outside the i64 nanosecond range wrapping to a wrong date. Dynamic JSON fields index them as strings, typed date fields return an error. Add DateTime::try_from_utc #3156(@​Darkheir)
  • Fix overflow in the blockwise linear codec on large jumps #2971(@​trinity-1686a)
  • Return an error instead of truncating when a merged str/bytes dictionary exceeds 4GB #3169(@​nadav-govari)
  • Fix SegmentReader ignoring I/O errors when opening the positions file #2931(@​JinheLin)
  • Replace unmaintained rust-stemmers with frostem, fixing a panic on some Greek words #3028(@​Xuanwo)
  • Fix unsound unsafe code in StrColumn::ord_to_str, Term::get_json_path, the doc store and MemoryArena #3175 #3176(@​fulmicoton-dd)

Features/Improvements

... (truncated)

Commits
  • 6788926 Version bump and changelog for tantivy 0.27 (#3197)
  • e1acb3e perf(aggregation): break serial Kahan/Welford chains with accumulator lanes (...
  • 8a4cfc4 Fix stale JSON range query note and ARCHITECTURE.md link
  • 7fea2ab columnar: read datetime columns with the right type in sort_order (#3185)
  • 0f8f6c5 term_agg: use bounds-checked indexing in Vec term maps (#3182)
  • 881fb3e filter_vec avx2: make target_feature helpers safe (#3178)
  • a32be82 fix: Fall back to string for dates that don't fit in i64 nanoseconds (#3156)
  • c6dc5cb BitUnpacker::get_range: compute range bounds in u64 (#3177)
  • 59daaef Split term bucket maps into eager (lanes) and lazy variants (#3174)
  • 3ecca81 MemoryArena: panic when allocating more than a page (#3176)
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Nov 1, 2026
@dependabot
dependabot Bot force-pushed the dependabot/cargo/tantivy-0.27.0 branch from 7057033 to 76aa403 Compare November 9, 2026 15:13
Bumps [tantivy](https://github.com/quickwit-oss/tantivy) from 0.22.1 to 0.27.0.
- [Release notes](https://github.com/quickwit-oss/tantivy/releases)
- [Changelog](https://github.com/quickwit-oss/tantivy/blob/main/CHANGELOG.md)
- [Commits](quickwit-oss/tantivy@0.22.1...0.27.0)

---
updated-dependencies:
- dependency-name: tantivy
  dependency-version: 0.27.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/cargo/tantivy-0.27.0 branch from 76aa403 to d6f8c33 Compare November 10, 2026 10:28
@dubadub

dubadub commented Nov 10, 2026

Copy link
Copy Markdown
Member

Superseded by #51, which bumps tantivy to 0.27.0 and adapts the code to the new API.

@dubadub dubadub closed this Nov 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file rust Pull requests that update rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant