How to use the @algolia/client-search.browseSynonyms function in @algolia/client-search

To help you get started, we’ve selected a few @algolia/client-search examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github algolia / algoliasearch-client-javascript / packages / client-account / src / methods / accountCopyIndex.ts View on Github external
.then(() =>
      browseSynonyms(source)({
        // eslint-disable-next-line functional/immutable-data
        batch: synonyms => responses.push(saveSynonyms(destination)(synonyms, requestOptions)),
      })
    )