Skip to content

More control over fuzzy searching behavior

Compare
Choose a tag to compare
@krisk krisk released this 21 Jun 17:17

Features

  • Added ignoreLocation, option to ignore field-length norm (#440). When set to true, the calculation for the relevance score (used for sorting) will ignore the field-length norm.
  • Added ignoreLocation option, which ignore the location (#438). When set to true, the searching will produce the same score result irrespective of where in the doc the match was found.
  • Added remove function (#439), which removes all documents from the list for which the predicate returns truthy, and returns an array of the removed docs.

Bug fixes

  • Fixed #442, where minMatchCharLength is ignored when determining which records to exclude.

Minor enhancements

  • Added #446, standardizing how keys are passed to Fuse.createIndex.