class EsHttpOperation::CreateIndex
Public Instance Methods
body()
click to toggle source
# File lib/wukong-migrate/elasticsearch_operations.rb, line 36 def body() { settings: settings }.compact_blank ; end
info()
click to toggle source
# File lib/wukong-migrate/elasticsearch_operations.rb, line 38 def info() "Creating index #{index}" ; end
path()
click to toggle source
# File lib/wukong-migrate/elasticsearch_operations.rb, line 35 def path() File.join('', index, '') ; end
verb()
click to toggle source
# File lib/wukong-migrate/elasticsearch_operations.rb, line 37 def verb() :put ; end