Skip to content

Commit

Permalink
Fix for contextual fuzzy matching in Live searches.
Browse files Browse the repository at this point in the history
  • Loading branch information
leontoeides committed Nov 18, 2023
1 parent 36bafd2 commit d1a1f61
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
* Release notes are available on
[GitHub](https://github.com/leontoeides/indicium/releases).

* `0.6.0`: Correction for contextual fuzzy matching in live, interactive
searches.

* `0.6.0`: New, optional `eddie` feature which is turned on by default. When
this feature is enabled, this library will utilize
[Ilia Schelokov](https://github.com/thaumant)'s [eddie](https://lib.rs/crates/eddie)
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ performance may begin to degrade at a point.
log](https://github.com/leontoeides/indicium/blob/master/CHANGELOG.md) is
available on GitHub.

* `0.6.0`: Correction for contextual fuzzy matching in live, interactive
searches.

* `0.6.0`: New, optional `eddie` feature which is turned on by default. When
this feature is enabled, this library will utilize
[Ilia Schelokov](https://github.com/thaumant)'s [eddie](https://lib.rs/crates/eddie)
Expand Down
8 changes: 4 additions & 4 deletions src/simple/search_type.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@

#[derive(Clone, Debug, Eq, Hash, Ord, PartialEq, PartialOrd)]
pub enum SearchType {
/// `Live` search allows for "search as you type." It is a hybridization
/// of `autocomplete` and `search`. This method will effectively search
/// all of the autocompletion options and return the search results to the
/// caller.
/// Interactive `Live` search allows for "search as you type." It is a
/// hybridization of `autocomplete` and `search`. This method will
/// effectively search all of the autocompletion options and return the
/// search results to the caller.
///
/// This search method accepts multiple keywords in the search string. The
/// logical conjuction for multiple keywords is `And`. For example, a search
Expand Down

0 comments on commit d1a1f61

Please sign in to comment.