Tantivy

Latest version: v0.22.0

Safety actively analyzes 706267 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 8

0.13.2

===================

Bugfix. Acquiring a facet reader on a segment that does not contain any
doc with this facet returns `None`. (896)

0.13.1

===================

Made `Query` and `Collector` `Send + Sync`.
Updated misc dependency versions.

0.13

you to reindex your index (BlockWAND information are added in the skiplist).
The index size increase is minor as this information is only added for
full blocks.
If you have a massive index for which reindexing is not an option, please contact me
so that we can discuss possible solutions.

- Bugfix in `FuzzyTermQuery` not matching terms by prefix when it should (Peachball)
- Relaxed constraints on the custom/tweak score functions. At the segment level, they can be mut, and they are not required to be Sync + Send.
- `MMapDirectory::open` does not return a `Result` anymore.
- Change in the DocSet and Scorer API. (fulmicoton).
A freshly created DocSet point directly to their first doc. A sentinel value called TERMINATED marks the end of a DocSet.
`.advance()` returns the new DocId. `Scorer::skip(target)` has been replaced by `Scorer::seek(target)` and returns the resulting DocId.
As a result, iterating through DocSet now looks as follows

rust
let mut doc = docset.doc();
while doc != TERMINATED {
// ...
doc = docset.advance();
}


The change made it possible to greatly simplify a lot of the docset's code.

- Misc internal optimization and introduction of the `Scorer::for_each_pruning` function. (fulmicoton)
- Added an offset option to the Top(.*)Collectors. (robyoung)
- Added Block WAND. Performance on TOP-K on term-unions should be greatly increased. (fulmicoton, and special thanks
to the PISA team for answering all my questions!)

0.13.0

======================

0.12.0

======================

- Removing static dispatch in tokenizers for simplicity. (762)
- Added backward iteration for `TermDictionary` stream. (halvorboe)
- Fixed a performance issue when searching for the posting lists of a missing term (audunhalland)
- Added a configurable maximum number of docs (10M by default) for a segment to be considered for merge (hntd187, landed by halvorboe 713)
- Important Bugfix 777, causing tantivy to retain memory mapping. (diagnosed by poljar)
- Added support for field boosting. (547, fulmicoton)

How to update?

Crates relying on custom tokenizer, or registering tokenizer in the manager will require some
minor changes. Check <https://github.com/quickwit-oss/tantivy/blob/main/examples/custom_tokenizer.rs>
to check for some code sample.

0.11.3

=======================

- Fixed DateTime as a fast field (735)

Page 4 of 8

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.