Using Algolia Search in Phoenix Application

Does anyone have an example how to use algolia search with a phoenix application including the algolia JS UI lib like autocomplete

You can populate Algolia from Phoenix with https://github.com/sikanhe/algolia-elixir

The JS search is not a concern of Elixir/Phoenix. You can implement a responsive search through LiveView, or use any 'ol off the shelf JS Algolia client if you want to clutter your life with client side javascript.

Note that the Algolia website doesn’t offer a free tier (afaik) but the Heroku add-on does have a free tier.

1 Like