Elasticsearch.Executable (elasticsearch v1.1.0) View Source

Wraps an Elasticsearch executable so it can be run as part of the Elixir supervision tree.

See Mix.Tasks.Elasticsearch.Install to install Elasticsearch to a directory for your project.

Example

Add a worker to your supervision tree, like so:

worker(Elasticsearch.Executable, [
  "Elasticsearch",
  "./vendor/elasticsearch/bin/elasticsearch",
  9200
], id: :elasticsearch),

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.