{"repo":"werbitzky/elastix","free":true,"listed":false,"github":"https://github.com/werbitzky/elastix","clone":"git clone https://github.com/werbitzky/elastix.git","description":"A simple Elasticsearch REST client written in Elixir.","language":"Elixir","stars":254,"topics":["elasticsearch","elastic","rest","json","search","index","elixir-lang"],"license":"MIT","category":"data-pipelines","readme_excerpt":"Elastix A DSL-free Elasticsearch client for Elixir. Documentation Documentation on hexdocs.pm Latest Elasticsearch documentation Even though the documentation is pretty scarce right now, we're working on improving it. If you want to help with that you're definitely welcome. 🤗 This README contains most of the information you should need to get started, if you can't find what you're looking for, either look at the tests or file an issue! Installation Add :elastix to your list of dependencies in mix.exs : Then run mix deps.get to fetch the new dependency. Examples Creating an Elasticsearch index Map, Index, Search and Delete Bulk requests Bulk requests take as parameter a list of the lines you want to send to the bulk endpoint. You can also specify the following options: index the index of the request type the document type of the request. (you can't specify type without specifying index ) httpoison options configuration directly passed to httpoison methods. Same options that can be passed on config file Configuration Shield Poison (or any other JSON library) and HTTPoison Note that you can configure Elastix to use any JSON library, see the \"Custom JSON codec\" page for more info. Custom headers custom headers must be a tuple of the type {Module, :function, [args]} , where :function is a function that should accept the request (a map of this type: %{method: String.t, headers: [], url: String.t, body: String.t} ) as its first parameter and return a list of the headers you want to","default_branch":null,"files":null,"tree":[],"storefront":"/r/werbitzky","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/werbitzky/elastix/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}