Skip to content

Releases: krisk/Fuse

v6.4.3

30 Oct 16:38
Compare
Choose a tag to compare

Bug Fixes

  • extended: ignoreLocation when useExtendedSearch is true (8f67ac9), closes #465

v6.4.2

20 Oct 16:41
Compare
Choose a tag to compare

Bug Fixes

v6.4.1

26 Jul 16:48
Compare
Choose a tag to compare

Bug Fixes

v6.4.0

28 Jun 19:47
Compare
Choose a tag to compare

Features

  • extended: add ability to search actual exact string (350283f)

    fuse.search('=query')

v6.3.1

25 Jun 00:34
Compare
Choose a tag to compare

Bug Fixes

  • logical: scores in logical query operators are ignored (e357229), closes #449

v6.3.0

23 Jun 04:55
Compare
Choose a tag to compare

Features

  • provide alternative array notation for nested paths (7077fbe), closes #432

    const options = {
      // equivalent to `keys: [['author', 'firstName'], ['author', 'lastName']]`
      keys: ['author.firstName', 'author.lastName']
    }

    And with logical query expressions, the following are equivalent:

    // Example 1
    {
      $and: [{ 'author.firstName': 'jon' }, { 'author.firstName': 'scazi' }]
    }
    
    // Example 2
    {
      $and: [
        {
          $path: ['author', 'firstNname'],
          $val: 'jon'
        },
        {
          $path: ['author', 'lastName'],
          $val: 'scazi'
        }
      ]
    }

v6.2.1

21 Jun 17:07
Compare
Choose a tag to compare

Bug fixes

  • Fixed #449, where logical $and operator would fail when having multiple $or expressions.

More control over fuzzy searching behavior

21 Jun 17:17
Compare
Choose a tag to compare

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.

Logical Query Operations

14 May 16:21
Compare
Choose a tag to compare

Features

Minor enhancements

  • Mix different options:key types during initialization (#413)
  • Improved indexing performances, as well as storage savings (#405, #407)
  • Improved search performance

v6.0.0-beta.0

08 May 23:59
Compare
Choose a tag to compare
  • Added logical query expressions (#411)
  • Added ability to dynamically add/remove items (#412)
  • Mix different options:key types during initialization (#413)
  • Improved indexing performances, as well as storage savings (#405, #407)