/ecto_typesense

Primary LanguageElixirMIT LicenseMIT

EctoTypesense

Build Status Hex.pm Documentation

Index your Ecto schemas directly into Typesense!

Documentation

Documentation can be found at https://hexdocs.pm/ecto_typesense.

Installation

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!