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



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

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

#infoObject



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

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

#pathObject



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

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

#verbObject



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

def verb() :put                                              ; end