Hi everyone. We want to use Algolia / Similar for ...
# general
v
Hi everyone. We want to use Algolia / Similar for our catalog. Does anyone have experience implementing it with Solidus? We have it fully setup and working with InstantSearch.js. The only cumbersome part is the hits template. Its jut a bit too much fiddling. Hence I was thinking, isn't it a better idea to use Algolia via railsbackend and request everything through a turbo stream?
k
This is how it is implemented in the latest version of the starter frontend. Of course with a simple query instead of Algolia, but I think it’s doable to replace the backend search with whatever you want. On the guides there’s a tutorial for replacing it with Elasticsearch via Searchkick for example: https://guides.solidus.io/how-tos/how-to-use-searchkick-for-search-autocomplete
v
I think that would be pretty similar indeed, thanks. I think this will be a better approach. Also with managing the urls, intial loads etc.
b
Checkout Meilisearch! This is what I'm moving to from searchkick/elasticsesrch
v
Yeah its going to be Meilosearch. Just not wether to use the Instasearch.js.
@benmorganio did you plan to use it through the backend or use the ui kit?
b
Through the backend.
v
What do you think are the benefits?
b
Goodbye JVM
ES is not managed/paid by credits on GCP so you have to set up your own server.
OpenSearch is managed and paid by credits on AWS but it's not well managed like ElasticSearch. It's fallen by the wayside.
v
I meant not using the Instasearch library
b
Meilisearch has made their own Rails gem to easily integrate it.
Oh wait, you're talking about instasearch and not searchkick.
v
Normally its Instasearch JS > Algolia/Meilisearch Now you get Frontend > Turbo > Railsbackend > Meili
Yes!
b
No idea. I only have search requirement for general searching.
v
Mm check. Thanks though
b
I do believe Meilisearch offers that feature.
I'd use it for auto complete and hook it up through stimulus.
v
It does. Its just managing pagination, filters etc
b
I did see pagination and filtering in their docs.
v
Yes it does all that. I am just wondering if its worth writing it on your own if there is an excellent kit to work with Meilosearch
Meilisearch*
I already have the backend hooked for the index. Just not retrieving.