Class: EsHttpOperation::AliasIndex
Instance Method Summary
collapse
#call_own_http_method, #configure_with, #execute, #json_body, #raw_curl_string
Instance Method Details
#body ⇒ Object
64
|
# File 'lib/wukong-migrate/elasticsearch_operations.rb', line 64
def body() { actions: [{ action => { index: index, alias: alias_name } }]} ; end
|
#info ⇒ Object
66
|
# File 'lib/wukong-migrate/elasticsearch_operations.rb', line 66
def info() "#{action.capitalize} alias :#{alias_name} for index #{index}" ; end
|
#path ⇒ Object
63
|
# File 'lib/wukong-migrate/elasticsearch_operations.rb', line 63
def path() '/_aliases?' ; end
|
#verb ⇒ Object
65
|
# File 'lib/wukong-migrate/elasticsearch_operations.rb', line 65
def verb() :post ; end
|