elastic create index
PUT /my-index-000001
// or with curl
curl -X PUT "localhost:9200/my-index-000001?pretty"
elastic create index
PUT /my-index-000001
// or with curl
curl -X PUT "localhost:9200/my-index-000001?pretty"
how to define sharding while creating an index in elasticsearch
PUT /my-index-000001
{
"settings": {
"index": {
"number_of_shards": 3,
"number_of_replicas": 2
}
}
}
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us