ES Version: 7.4.2
Steps:
-
create index and post some data:
PUT logs
{
"settings": {
"number_of_shards": 2,
"number_of_replicas": 1
}
}POST logs/_doc
{
"msg": "hello there"
}POST logs/_doc
{
"msg": "hello here"
} -
freeze the index
POST logs/_freeze -
try to reindex this index
POST _reindex
{
"source": {
"index": "logs"
},
"dest": {
"index": "logs-new"
}
}
step3 does not create index named "logs-new", and response with following:
{
"took" : 0,
"timed_out" : false,
"total" : 0,
"updated" : 0,
"created" : 0,
"deleted" : 0,
"batches" : 0,
"version_conflicts" : 0,
"noops" : 0,
"retries" : {
"bulk" : 0,
"search" : 0
},
"throttled_millis" : 0,
"requests_per_second" : -1.0,
"throttled_until_millis" : 0,
"failures" :
}
i tries to add "ignore_throttled=false" to the url "POST _reindex?ignore_throttled=false", but es complains about illegal argument,
"reason": "request [/_reindex] contains unrecognized parameter: [ignore_throttled]"
how can i reindex from an frozen index ?