#community-help

Switching from Algolia to TypeSense for Project

TLDR Nikunj inquired about shifting their Algolia-based project to TypeSense. Kishore Nallan helped by suggesting to use the TypeSense Instantsearch Adapter and the browse method to export data from Algolia to TypeSense cloud.

Powered by Struct AI
+11
white_check_mark1
7
8mo
Solved
Join the chat
Jan 24, 2023 (8 months ago)
Nikunj
Photo of md5-e86f551204439999ca28639ea0e038b0
Nikunj
07:58 AM
My Project is having a filter box completely based on algolia,
We are using the mentioned function directly from react-instantsearch-dom
InstantSearch,
    connectSearchBox,
    Configure,
    connectMenu,
    connectRefinementList,
    connectToggleRefinement,
    connectStats,
    connectInfiniteHits,
    connectStateResults,
    Panel 

do we have alternative of these functions here in type-sense?
Kishore Nallan
Photo of md5-4e872368b2b2668460205b409e95c2ea
Kishore Nallan
08:03 AM
You can use our Instantsearch Adapter to directly use InstanstSearch but with Typesense backend: https://github.com/typesense/typesense-instantsearch-adapter
Nikunj
Photo of md5-e86f551204439999ca28639ea0e038b0
Nikunj
08:03 AM
yes yes i am currently setting up the back-end for type-sense
08:04
Nikunj
08:04 AM
is there a way to upload all my current data from algolia to type-sense cloud?
08:05
Nikunj
08:05 AM
we will be purchasing cloud space, once we are done with setting up all the things in testing environment.
Kishore Nallan
Photo of md5-4e872368b2b2668460205b409e95c2ea
Kishore Nallan
08:05 AM
You can use the browse method with attributesToRetrieve. To export all records, use an empty query: https://www.algolia.com/doc/api-reference/api-methods/browse/
white_check_mark1
Nikunj
Photo of md5-e86f551204439999ca28639ea0e038b0
Nikunj
08:06 AM
ok thanks Kishore Nallan, will ping here if any thing comes up/
+11