Class: EsHttpOperation::UpdateIndexMapping

Inherits:
EsHttpOperation show all
Defined in:
lib/wukong-migrate/elasticsearch_operations.rb

Instance Method Summary collapse

Methods inherited from EsHttpOperation

#call_own_http_method, #configure_with, #execute, #json_body, #raw_curl_string

Instance Method Details

#bodyObject



75
# File 'lib/wukong-migrate/elasticsearch_operations.rb', line 75

def body() { obj_type => mapping }                           ; end

#infoObject



77
# File 'lib/wukong-migrate/elasticsearch_operations.rb', line 77

def info() "Updating #{obj_type} mapping for index #{index}" ; end

#pathObject



74
# File 'lib/wukong-migrate/elasticsearch_operations.rb', line 74

def path() File.join('', index, obj_type, '_mapping?')       ; end

#verbObject



76
# File 'lib/wukong-migrate/elasticsearch_operations.rb', line 76

def verb() :put                                              ; end