Releases: AddSearch/js-client-library
Releases · AddSearch/js-client-library
v0.2.2
07 Jan 12:10
Compare
Sorry, something went wrong.
No results found
New function to disable analytics collection from API calls
v0.2.1
25 Nov 12:38
Compare
Sorry, something went wrong.
No results found
Deprecated function
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
03 Oct 08:53
Compare
Sorry, something went wrong.
No results found
Added a function to shuffle result set and return n results
v0.1.18
24 Sep 12:30
Compare
Sorry, something went wrong.
No results found
Made following functions idempotent
addFacetField
addCustomFieldFilter
v0.1.17
20 Sep 07:01
Compare
Sorry, something went wrong.
No results found
Maximum page size increased from 50 to 300. E.g.:
client.setPaging(1, 300, 'date', 'asc');
v0.1.16
19 Sep 08:51
Compare
Sorry, something went wrong.
No results found
New function to define the number of facets to fetch
v0.1.15
12 Sep 11:35
Compare
Sorry, something went wrong.
No results found
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
29 Aug 09:34
Compare
Sorry, something went wrong.
No results found
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
26 Aug 07:48
Compare
Sorry, something went wrong.
No results found
Added functions
setPriceRangeFilter(min, max)
setUserToken(uuid)
v0.1.12
16 Aug 09:55
Compare
Sorry, something went wrong.
No results found