class EsHttpOperation::UpdateIndexMapping

Public Instance Methods

body() click to toggle source
# File lib/wukong-migrate/elasticsearch_operations.rb, line 75
def body() { obj_type => mapping }                           ; end
info() click to toggle source
# File lib/wukong-migrate/elasticsearch_operations.rb, line 77
def info() "Updating #{obj_type} mapping for index #{index}" ; end
path() click to toggle source
# File lib/wukong-migrate/elasticsearch_operations.rb, line 74
def path() File.join('', index, obj_type, '_mapping?')       ; end
verb() click to toggle source
# File lib/wukong-migrate/elasticsearch_operations.rb, line 76
def verb() :put                                              ; end