Class: EsHttpOperation::CreateIndex
Instance Method Summary
collapse
#call_own_http_method, #configure_with, #execute, #json_body, #raw_curl_string
Instance Method Details
#body ⇒ Object
36
|
# File 'lib/wukong-migrate/elasticsearch_operations.rb', line 36
def body() { settings: settings }.compact_blank ; end
|
#info ⇒ Object
38
|
# File 'lib/wukong-migrate/elasticsearch_operations.rb', line 38
def info() "Creating index #{index}" ; end
|
#path ⇒ Object
35
|
# File 'lib/wukong-migrate/elasticsearch_operations.rb', line 35
def path() File.join('', index, '') ; end
|
#verb ⇒ Object
37
|
# File 'lib/wukong-migrate/elasticsearch_operations.rb', line 37
def verb() :put ; end
|