Skip to content

Releases: AddSearch/js-client-library

v0.1.19

03 Oct 08:53
Compare
Choose a tag to compare

Added a function to shuffle result set and return n results

  • setShuffleAndLimitTo

v0.1.18

24 Sep 12:30
Compare
Choose a tag to compare

Made following functions idempotent

  • addFacetField
  • addCustomFieldFilter

v0.1.17

20 Sep 07:01
Compare
Choose a tag to compare

Maximum page size increased from 50 to 300. E.g.:

  • client.setPaging(1, 300, 'date', 'asc');

v0.1.16

19 Sep 08:51
Compare
Choose a tag to compare

New function to define the number of facets to fetch

  • client.setNumberOfFacets

v0.1.15

12 Sep 11:35
Compare
Choose a tag to compare

New function to define result types, i.e. to leave out Pinned results and Promotions:

  • setResultType

New function to pass personalization events with the search query, instead of sending user actions beforehand.

  • setPersonalizationEvents

v0.1.14

29 Aug 09:34
Compare
Choose a tag to compare

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
    },
    ...

v0.1.13

26 Aug 07:48
Compare
Choose a tag to compare

Added functions

  • setPriceRangeFilter(min, max)
  • setUserToken(uuid)

v0.1.12

16 Aug 09:55
Compare
Choose a tag to compare
Increase version

v0.1.11

14 Jun 07:43
Compare
Choose a tag to compare
Add jwt instructions

v0.1.10

27 May 12:56
Compare
Choose a tag to compare
Increase version