Skip to content

elixir-saas/ecto_tsvector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EctoTsvector

Add vector search to your application with Ecto, tsvector, and Postgres.

Installation

Install by adding ecto_tsvector to your list of dependencies in mix.exs:

def deps do
  [
    {:ecto_tsvector, "~> 0.1.0"}
  ]
end

Full documentation at https://hexdocs.pm/ecto_tsvector.

This library uses the regconfig type in Postgres. Add support for this type by adding the following config for your repo:

config :my_app, MyApp.Repo, types: EctoTsvector.PostgrexTypes

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/ecto_tsvector.

About

Add vector search with Ecto to your existing Postgres database.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages