#community-help

Migration Assistance from Algolia's Autocomplete

TLDR Prime requested help with migrating from algolia's autocomplete. Jason provided a demo app link to assist with integration.

Powered by Struct AI
Sep 24, 2023 (2 months ago)
Prime
Photo of md5-696e44f65b98e5b1e2bbbc3d8d7d403d
Prime
05:48 PM
Hello. Can somebody give me help with migrating from algolia's autocomplete? I have a modified version of https://github.com/algolia/autocomplete/tree/next/examples/playground (Just added a clone of the categories plugin, and minimal modifications like this). I tried to replace the algolia searchClient variable with a typesense one, but I get in errors like "fetchAlgoliaResults.js:33 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'addAlgoliaAgent')" however I don't have this function in my code. Thank you for your help!
Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
06:41 PM
Here’s a demo app that shows you how to integrate with autocomplete.js:

https://github.com/typesense/typesense-autocomplete-demo