Class: EsHttpOperation::UpdateIndexMapping
Instance Method Summary
collapse
#call_own_http_method, #configure_with, #execute, #json_body, #raw_curl_string
Instance Method Details
#body ⇒ Object
74
|
# File 'lib/wukong-migrate/elasticsearch_operations.rb', line 74
def body() { obj_type => mapping } ; end
|
#info ⇒ Object
76
|
# File 'lib/wukong-migrate/elasticsearch_operations.rb', line 76
def info() "Updating #{obj_type} mapping for index #{index}" ; end
|
#path ⇒ Object
73
|
# File 'lib/wukong-migrate/elasticsearch_operations.rb', line 73
def path() File.join('', index, obj_type, '_mapping?') ; end
|
#verb ⇒ Object
75
|
# File 'lib/wukong-migrate/elasticsearch_operations.rb', line 75
def verb() :put ; end
|