All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
3.0.1 - 2022-07-23
- Updated dependencies and MSRVs to fix builds. (#47 et. al.)
3.0.0 - 2022-06-01
- Language support for Arabic (#40).
- Add the
Language
trait to make it easier to implement languages outside the crate. - Add
IndexBuilder::add_field_with_tokenizer
to specify the tokenizer for a field.
- Update to 2018 edition, and bump MSRV to 1.54.0.
- Change benchmarks to use Criterion.
- Remove dependency on lazy_static.
- Update dependencies.
- Use Unicode character classes for trimmer.
IndexBuilder
functions which add fields will now panic if the same field is added multiple times.- Fix
IndexBuilder
not respecting field insertion order.
- Remove the
default
feature. You now need to opt-in to thelanguages
feature. - Remove the deprecated function
Pipeline::for_language
. - Remove the
pipeline::tokenize*
functions, which are now implemented as part of theLanguage
trait. - Remove
Index::add_doc_with_tokenizer(s)
, replaced byIndexBuilder::add_field_with_tokenizer
. - Remove the
Language
enum. Use theLanguage
trait implementations in thelang
modules, and the free functionslang::from_name
,lang::from_code
, andlang::languages
.