- Added f64 field. Internally reuse u64 code the same way i64 does (@fdb-hiroshima)
- Various bugfixes in the query parser.
- Better handling of hyphens in query parser. (#609)
- Better handling of whitespaces.
- Closes #498 - add support for Elastic-style unbounded range queries for alphanumeric types eg. "title:>hello", "weight:>=70.5", "height:<200" (@petr-tik)
- API change around
Box<BoxableTokenizer>
. See detail in #629 - Avoid rebuilding Regex automaton whenever a regex query is reused. #639 (@brainlock)
- Add footer with some metadata to index files. #605 (@fdb-hiroshima)
- Add a method to check the compatibility of the footer in the index with the running version of tantivy (@petr-tik)
- TopDocs collector: ensure stable sorting on equal score. #671 (@brainlock)
- Added handling of pre-tokenized text fields (#642), which will enable users to
load tokens created outside tantivy. See usage in examples/pre_tokenized_text. (@kkoziara) - Fix crash when committing multiple times with deleted documents. #681 (@brainlock)
How to update?
- The index format is changed. You are required to reindex your data to use tantivy 0.11.
Box<dyn BoxableTokenizer>
has been replaced by aBoxedTokenizer
struct.- Regex are now compiled when the
RegexQuery
instance is built. As a result, it can now return
an error and handling theResult
is required. tantivy::version()
now returns aVersion
object. This object implementsToString()