Index your Ecto schemas directly into Typesense!
Documentation can be found at https://hexdocs.pm/ecto_typesense.
Install with Hex from ecto_typesense
:
# mix.exs
def deps do
[
{:ecto_typesense, "~> 0.1.0"}
]
end
Set the following config options:
# config/config.exs
config :ecto_typesense,
url: "put-your-typesense-url-here",
api_key: "put-your-api-key-here"
Typesense is very easy to run in docker compose. See an example here of running it in the test suite!