Tantivy v0.22
What's Changed
Tantivy 0.22 will be able to read indices created with Tantivy 0.21.
Bugfixes
- Fix null byte handling in JSON paths (null bytes in json keys caused panic during indexing) #2345(@PSeitz)
- Fix bug that can cause
get_docids_for_value_rangeto panic. #2295(@fulmicoton) - Avoid 1 document indices by increase min memory to 15MB for indexing #2176(@PSeitz)
- Fix merge panic for JSON fields #2284(@PSeitz)
- Fix bug occuring when merging JSON object indexed with positions. #2253(@fulmicoton)
- Fix empty DateHistogram gap bug #2183(@PSeitz)
- Fix range query end check (fields with less than 1 value per doc are affected) #2226(@PSeitz)
- Handle exclusive out of bounds ranges on fastfield range queries #2174(@PSeitz)
Breaking API Changes
- rename ReloadPolicy onCommit to onCommitWithDelay #2235(@giovannicuccu)
- Move exports from the root into modules #2220(@PSeitz)
- Accept field name instead of
Fieldin FilterCollector #2196(@PSeitz) - remove deprecated IntOptions and DateTime #2353(@PSeitz)
Features/Improvements
-
Tantivy documents as a trait: Index data directly without converting to tantivy types first #2071(@ChillFish8)
-
encode some part of posting list as -1 instead of direct values (smaller inverted indices) #2185(@trinity-1686a)
-
Aggregation
- Support to deserialize f64 from string #2311(@PSeitz)
- Add a top_hits aggregator #2198(@ditsuke)
- Support bool type in term aggregation #2318(@PSeitz)
- Support ip adresses in term aggregation #2319(@PSeitz)
- Support date type in term aggregation #2172(@PSeitz)
- Support escaped dot when addressing field #2250(@PSeitz)
New Contributors
- @imotov made their first contribution in https://github.com/quickwit-oss/tantivy/pull/2160
- @PingXia-at made their first contribution in https://github.com/quickwit-oss/tantivy/pull/2173
- @giovannicuccu made their first contribution in https://github.com/quickwit-oss/tantivy/pull/2235
- @BlackHoleFox made their first contribution in https://github.com/quickwit-oss/tantivy/pull/2265
- @ditsuke made their first contribution in https://github.com/quickwit-oss/tantivy/pull/2282
- @MochiXu made their first contribution in https://github.com/quickwit-oss/tantivy/pull/2312
Full Changelog: https://github.com/quickwit-oss/tantivy/compare/0.21...v0.22.0