Skip to content

Commit

Permalink
adding alias as new index
Browse files Browse the repository at this point in the history
  • Loading branch information
Ricardo Illgen authored and Ricardo Illgen committed Jan 7, 2017
1 parent a3f6b31 commit 07f762c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/createindex.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#!/bin/bash
curl -XPUT "http://localhost:9200/$1" -d '{
curl -XPUT "http://localhost:9200/$1-000001" -d '{
"aliases": {
"$1": {}
},
"mappings": {
"publications": {
"properties": {
Expand Down

0 comments on commit 07f762c

Please sign in to comment.