mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-28 17:34:17 -04:00
parent
6d943e9e53
commit
f64c05ac32
1 changed files with 21 additions and 0 deletions
|
@ -407,3 +407,24 @@ POST _aliases
|
|||
}
|
||||
----
|
||||
// TEST[s/^/PUT my-index-2099.05.06-000001\n/]
|
||||
|
||||
[discrete]
|
||||
[[remove-index]]
|
||||
=== Remove an index
|
||||
|
||||
To remove an index, use the aliases API's `remove_index` action.
|
||||
|
||||
[source,console]
|
||||
----
|
||||
POST _aliases
|
||||
{
|
||||
"actions": [
|
||||
{
|
||||
"remove_index": {
|
||||
"index": "my-index-2099.05.06-000001"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
----
|
||||
// TEST[s/^/PUT my-index-2099.05.06-000001\n/]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue