-
Release notes are available on GitHub.
-
0.6.1
: Removededdie
as the default string similarity crate, for now, due to a potentialpanic
. -
0.6.0
: Fix for contextual fuzzy matching forLive
interactive searches. In some casesLive
search would return global results without properly observing themaximum_search_results
setting. This has been fixed. This will improve performance and user experience. -
0.6.0
: New, optionaleddie
feature which is turned on by default. When this feature is enabled, this library will utilize Ilia Schelokov's eddie crate for faster UTF-8 string distance and string similarity calculations. -
0.6.0
: New, optionalgxhash
feature.ahash
is still the default hasher. When this feature is enabled, this library will utilize Olivier Giniaux's bleeding edge gxhash crate for fasterHashMap
andHashSet
hashing. -
0.5.2
: New, optionalahash
feature which is turned on by default. When this feature is enabled, this library will utilize Tom Kaitchuck's ahash crate for fasterHashMap
andHashSet
hashing rather than the standard library's SipHash. -
0.5.1
: Fixes compile failure for the experimentalselect2
feature and when not usingfuzzy
feature. -
0.5.0
: Thesimple
search index now internally employs Ed Page's kstring crate. Thedump_keyword
andprofile
function signatures were changed slightly, otherwise there's no impact to the caller. -
0.5.0
: Performance improvements. -
0.4.2
: Any type that implements ToString (and consequently any type that implements Display) now gets the Indexable implementation for free. -
0.4.1
: Improved contextual fuzzy matching. -
0.4.0
: Initial support for fuzzy searching. Fuzzy matching is applied to the last (partial) keyword in the search string for autocompletion and live search only. Keywords at the start or in the middle of the user's search string will not be substituted. Indicium uses Danny Guo's strsim crate for string similarity calculations. -
0.4.0
: Breaking changes:- Builder pattern is now passed owned values.
K
key type requiresHash
trait forfuzzy
string search feature.- New
SearchIndex
default settings.
-
0.4.0
: Any dependent software should see if (or how) the updated defaults change search behaviour and tweak accordingly before adopting the 0.4.0 update. -
0.3.7
: An experimental feature is now disabled by default to reduce resource consumption. -
0.3.6
: ImplementedDerefMut
which gives access to the search index's underlyingBTreeMap
. Implementedclear()
which is a convenience method for clearing the search index. -
0.3.5
: Peformance improvements. -
0.3.4
: Peformance improvements. -
0.3.3
: Fix:cargo test
failed. Sorry. -
0.3.2
: Fix: issue with search indexes that do not use keyword splitting. -
0.3.1
: Autocomplete no longer offers previously used keywords as options. -
0.3.1
: Addedmaximum_keys_per_keyword
getter method. -
0.3.1
: Addedautocomplete_with
andsearch_with
methods which allow ad-hoc overrides of theAutocompleteType
/SearchType
and maximum results parameters. -
0.3.0
: Added new search typeSearchType::Live
which is for "search as you type" interfaces. It is sort of a hybrid betweenautocomplete
andSearchType::And
. It will search using an (incomplete) string and return keys as the search results. Each resulting key can then be used to retrieve the full record from its collection to be rendered & displayed to the user.