Releases: AddSearch/js-client-library
Releases · AddSearch/js-client-library
v0.1.19
Added a function to shuffle result set and return n results
v0.1.18
Made following functions idempotent
- addFacetField
- addCustomFieldFilter
v0.1.17
Maximum page size increased from 50 to 300. E.g.:
- client.setPaging(1, 300, 'date', 'asc');
v0.1.16
New function to define the number of facets to fetch
v0.1.15
New function to define result types, i.e. to leave out Pinned results and Promotions:
New function to pass personalization events with the search query, instead of sending user actions beforehand.
v0.1.14
Added support for facets. New function:
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
},
...
v0.1.13
Added functions
- setPriceRangeFilter(min, max)
- setUserToken(uuid)