Skip to content

0.2.0

Compare
Choose a tag to compare
@brianreavis brianreavis released this 15 Sep 05:37
· 72 commits to master since this release

Features

  • Added multi-property sorting.
    When the score of two or more fields is identical, ordering falls back to fields specified in the "sort" option.
  • Added a "sort_empty" option.
    It overrides "sort" when an empty search is performed.
  • Added "filter" option.
    When set to false, results that don't match will not be excluded from the resultset.
  • Added code coverage reporting.

Fixes

  • Fixed sorting by numeric values.

API Changes

There is no longer a "direction" option. Sort direction is now specified with fields in the "sort" option – which has also changed in format. See the readme for more information.