Permalink
Browse files

add ability to use routing

  • Loading branch information...
1 parent 4db907d commit e6f4c77ec1c14e76871bbd69f72cf225b1b213f0 Missy committed May 2, 2013
Showing with 2 additions and 1 deletion.
  1. +2 −1 bin/squirrel.rb
View
@@ -90,7 +90,8 @@
cmd.define :port, :type => Integer, :default => nil, :description => 'The port to connect to on the host, defaults to nil'
cmd.define :execute_slow_queries, :default => nil, :description => 'Execute the slow log queries in the provided log file,ie --execute_slow_log=/var/log/elasticsearch/padraig.log, defaults to nil'
cmd.define :batch_size, :type => Integer, :default => nil, :description => 'The number of lines to process at once, defaults to nil'
- cmd.define :preference, :type => Array, :default => [true,"_primary_first"], :description => 'Turn on/off preference and set it,ie --preference=true,_primary_first'
+ cmd.define :preference, :type => Array, :default => [true,"_primary_first"], :description => 'Turn on/off preference and set it,ie --preference=true,_primary_first'
+ cmd.define :routing, :type => Array, :default => [false, ""], :description => 'Add routing, ie --routing=true,flight_id'
end
Settings.define_command :index_settings, :description => "Change the index settings" do |cmd|
cmd.define :host, :default => nil, :description => 'The host to connect to, defaults to nil'

0 comments on commit e6f4c77

Please sign in to comment.