Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

configure should return original settings

  • Loading branch information...
commit c102e8c2c96708e765e453dc8268ebfb2e3eff50 1 parent fb6c0ca
@dhruvbansal dhruvbansal authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  lib/wonderdog/configuration.rb
3  lib/wonderdog/configuration.rb
@@ -5,6 +5,7 @@ module Elasticsearch
# Elasticsearch.
# @param [Configliere::Param] settings
+ # @return [Configliere::Param] the newly configured settings
def self.configure settings
settings.define(:es_tmp_dir, :description => "Temporary directory on the HDFS to store job files while reading/writing to ElasticSearch", :default => "/user/#{ENV['USER']}/wukong", :wukong_hadoop => true)
settings.define(:es_config, :description => "Where to find configuration files detailing how to join an ElasticSearch cluster", :wukong_hadoop => true)
@@ -16,6 +17,8 @@ def self.configure settings
settings.define(:es_id_field, :description => "If this field is present in a record, make an update request, otherwise make a create request", :wukong_hadoop => true)
settings.define(:es_bulk_size, :description => "Number of requests to batch locally before making a request to ElasticSearch", :type => Integer, :wukong_hadoop => true)
settings.define(:es_query, :description => "Query to use when defining input splits for ElasticSearch input", :wukong_hadoop => true)
+ settings
Please sign in to comment.
Something went wrong with that request. Please try again.