0.2.0
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 tofalse
, 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.