ElasticsearchElixirBulkProcessor.Items.Delete (Elasticsearch Elixir Bulk Processor v0.1.7)

Link to this section Summary

Functions

Examples

iex> %ElasticsearchElixirBulkProcessor.Items.Delete{index: "test", id: "1"} ...> |> ElasticsearchElixirBulkProcessor.Items.Delete.to_payload() "{\"delete\":{\"_index\":\"test\",\"_id\":\"1\"}}"

Link to this section Functions

Link to this function

to_payload(item)

Examples

iex> %ElasticsearchElixirBulkProcessor.Items.Delete{index: "test", id: "1"} ...> |> ElasticsearchElixirBulkProcessor.Items.Delete.to_payload() "{\"delete\":{\"_index\":\"test\",\"_id\":\"1\"}}"