/elastic_wrapper

Wrap any task with an Elaticsearch instance

Primary LanguageRubyMIT LicenseMIT

elastic_wrapper

Wrap any task with an ElasticSearch instance:

ESWrapper.wrap do |es|
  # Something that requires elasticsearch
end

Basic Options

ESWrapper.wrap port: 9200,
                 verbose: true,
                 managed: true,
                 instance_dir: '/opt/elasticsearch'