Releases: AddSearch/js-client-library
Releases · AddSearch/js-client-library
v0.2.1
Deprecated function
- useFuzzyMatch
Added function
- setFuzzyMatch with possible attribute values true, false, or "auto" (default is "auto" for automatic typo tolerance)
Added possibility to sort search results by custom_field. For example:
- client.setPaging(1, 10, 'custom_fields.price', 'asc'); // Lowest price first
v0.1.19
v0.1.18
v0.1.17
v0.1.16
v0.1.15
v0.1.14
Added support for facets. New function:
- addFacetField
For example, faceting against genre:
client.addFacetField('custom_fields.genre')
could return
hits: [ ... ]
facets: {
custom_fields.genre: [
{
value: "rock",
count: 932
},
{
value: "pop",
count: 823
},
...