Skip to content

@krisk krisk released this Oct 30, 2020 · 8 commits to master since this release

Bug Fixes

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

@krisk krisk released this Oct 20, 2020 · 13 commits to master since this release

Bug Fixes

Assets 2

@krisk krisk released this Jul 26, 2020 · 27 commits to master since this release

Bug Fixes

Assets 2

@krisk krisk released this Jun 28, 2020 · 33 commits to master since this release

Features

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

    fuse.search('=query')
Assets 2

@krisk krisk released this Jun 25, 2020 · 43 commits to master since this release

Bug Fixes

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

@krisk krisk released this Jun 23, 2020 · 47 commits to master since this release

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'
        }
      ]
    }
Assets 2

@krisk krisk released this Jun 21, 2020 · 59 commits to master since this release

Bug fixes

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

@krisk krisk released this Jun 21, 2020 · 64 commits to master since this release

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.
Assets 2
Jun 17, 2020
Release 6.2.0-beta.1
Jun 17, 2020
Release 6.2.0-beta.0
You can’t perform that action at this time.