cases
cases copied to clipboard
Bump tantivy from 0.21.1 to 0.22.0
Bumps tantivy from 0.21.1 to 0.22.0.
Release notes
Sourced from tantivy's releases.
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_range
to 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
Field
in 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
)Add ExistsQuery to check documents that have a value #2160(
@imotov
)Memory/Performance
- Faster TopN: replace BinaryHeap with TopNComputer #2186(
@PSeitz
)- reduce number of allocations during indexing #2257(
@PSeitz
)- Less Memory while indexing: docid deltas while indexing #2249(
@PSeitz
)- Faster indexing: use term hashmap in fastfield #2243(
@PSeitz
)- term hashmap remove copy in is_empty, unused unordered_id #2229(
@PSeitz
)- add method to fetch block of first values in columnar #2330(
@PSeitz
)- Faster aggregations: add fast path for full columns in fetch_block #2328(
@PSeitz
)- Faster sstable loading: use fst for sstable index #2268(
@trinity-1686a
)QueryParser
- allow newline where we allow space in query parser #2302(
@trinity-1686a
)- allow some mixing of occur and bool in strict query parser #2323(
@trinity-1686a
)- handle * inside term in lenient query parser #2228(
@trinity-1686a
)- add support for exists query syntax in query parser #2170(
@trinity-1686a
)
... (truncated)
Changelog
Sourced from tantivy's changelog.
Tantivy 0.22
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_range
to 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
Field
in 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
)Add ExistsQuery to check documents that have a value #2160(
@imotov
)Memory/Performance
- Faster TopN: replace BinaryHeap with TopNComputer #2186(
@PSeitz
)- reduce number of allocations during indexing #2257(
@PSeitz
)- Less Memory while indexing: docid deltas while indexing #2249(
@PSeitz
)- Faster indexing: use term hashmap in fastfield #2243(
@PSeitz
)- term hashmap remove copy in is_empty, unused unordered_id #2229(
@PSeitz
)- add method to fetch block of first values in columnar #2330(
@PSeitz
)- Faster aggregations: add fast path for full columns in fetch_block #2328(
@PSeitz
)- Faster sstable loading: use fst for sstable index #2268(
@trinity-1686a
)QueryParser
- allow newline where we allow space in query parser #2302(
@trinity-1686a
)- allow some mixing of occur and bool in strict query parser #2323(
@trinity-1686a
)- handle * inside term in lenient query parser #2228(
@trinity-1686a
)- add support for exists query syntax in query parser #2170(
@trinity-1686a
)
... (truncated)
Commits
2fb381b
chore: Release052c78a
reset version to 0.21.1, before release311644f
update CHANGELOG, use github API in cliffdfa3aed
check unsupported parameters top_hits (#2351)398817c
add index sorting deprecation warning (#2353)74940e9
clippy (#2349)1e9fc51
update ahash (#2344)92c3297
fix postcard compatibility for top_hits, add postcard test (#2346)b644d78
fix null byte handling in JSON paths (#2345)4e79e11
add collect_block to BoxableSegmentCollector (#2331)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebase
will rebase this PR -
@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it -
@dependabot merge
will merge this PR after your CI passes on it -
@dependabot squash and merge
will squash and merge this PR after your CI passes on it -
@dependabot cancel merge
will cancel a previously requested merge and block automerging -
@dependabot reopen
will reopen this PR if it is closed -
@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot show <dependency name> ignore conditions
will show all of the ignore conditions of the specified dependency -
@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)