elasticsearch-elixir
elasticsearch-elixir copied to clipboard
No-nonsense Elasticsearch library for Elixir
I have a use case were I need to reindex a big part of the documents but not all. For example all restaurants from a channel. Since they can be...
It is hardcoded to 2. This means that whenever I recreate the index I always have two copies of the index and automatically all the documents twice. This can lead...
When bulk loading a large number of documents, in can be tricky to get the `bulk_page_size`, `bulk_wait_interval` correct, without significantly slowing down an index build. Also, in some cases the...
Currently it is not obvious that one can override `MyApp.Cluster.init/1` for runtime configuration unless you read the source code. So, I did 2 changes there: 1. Added support for more...
This PR includes a change to `Bulk.encode/3` that adds a new `opts` param so that users can pass an action type besides "create", like "index", that can be used for...
I'd like to use this package in projects that depend on the latest versions of `vex` without the need of `override: true`.
New OpenSearch (what AWS using as well) completely removed types in urls so old url with `_doc` won't work at all. And it's optional in newer ElasticSearch (since v7 I...
The Elasticsearch.get(cluster, "/_cat/indices?format=json") is not allowed for all users. It's problematic to use to get the list of indices on some platform such as Heroku. It needs security features to...
When creating a new index and loading data, the index is created fine but when uploading the data to elasticsearch, it returns ``` %Elasticsearch.Exception{ status: 400, line: nil, col: nil,...
ElasticSearch 7.x [1] already described the removal of mapping types. For the case of bulk endpoints: > Types should also no longer appear in the body of requests. The following...