Class: EsHttpOperation::UpdateIndexSettings

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



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

def body() { index: settings }                    ; end

#infoObject



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

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

#pathObject



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

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

#verbObject



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

def verb() :put                                   ; end