Skip to content

gosseti/algolia_client_elixir

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AlgoliaClientElixir

AlgoliaClientElixir is a simple algolia client using Finch for Http requests

Algolia.Index is the main module

Installation

def deps do
  [
    {:algolia_client_elixir, github: "hlista/algolia_client_elixir", branch: "main"}
  ]
end

Config

Set the following in your applications config.exs

config :algolia,
  api_key: <YOUR_ALGOLIA_API_KEY>,
  application_id: <YOUR_ALGOLIA_APPLICATION_ID>

Index

Initialize an index

Algolia.Index.init_index("index_name")

Pass index into an index operation

"index_name"
|> Algolia.Index.init_index()
|> Algolia.Index.set_settings(settings)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Elixir 100.0%