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