View Source Paradex

Ecto fragments for ParadeDB, currently under active development.

Installation

Add :paradex to your list of dependencies in mix.exs:

def deps do
  [
    {:paradex, "~> 0.0.1"}
  ]
end

Documentation is available on HexDocs and may also be generated with ExDoc.

Usage

import Ecto.Query
import Paradex

alias MyApp.Call
alias MyApp.Repo

from(
  c in Call,
  where: c.transcript ~> "bus"
)
|> Repo.all()

More examples are available in the API docs.

Roadmap/Todo

  • Add examples for range_term/2 and boolean/3
  • Add test coverage for range_term/2 and boolean/3
  • Implement more_like_this.
  • Implement facets and aggregations (currently enterprise features).
  • Implement hybrid search, or add a guide for users to do so themselves.