@@ -26,7 +26,7 @@ curl -XPUT http://127.0.0.1:9800/projectset_v1 -d '{
}
},
- "number_of_shards": "2",
+ "number_of_shards": "8",
"number_of_replicas": "1"
@@ -39,3 +39,17 @@ curl -XPOST http://127.0.0.1:9800/_aliases -d '
}}
]
}'
+
+curl -XPOST http://192.168.3.128:9800/_aliases -d '
+{
+ "actions": [
+ { "remove": {
+ "alias": "projectset",
+ "index": "projectset_v5"
+ }},
+ { "add": {
+ "index": "projectset_v6"
+ }}
+ ]
+}'