We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cfafbe8 commit 85b1aa6Copy full SHA for 85b1aa6
transformAndIndexRppd.sh
@@ -1,8 +1,20 @@
1
#!/bin/bash
2
set -uo pipefail # See http://redsymbol.net/articles/unofficial-bash-strict-mode/
3
4
+TIME=$(date "+%Y%m%d-%H%M")
5
+INDEX="gnd-rppd-$TIME"
6
+ALIAS="gnd-rppd-test"
7
+
8
cd ../rpb
9
bash transformRppd.sh
10
cd -
-sbt "runMain apps.Index baseline"
11
+sbt -Dindex.prod.name=$INDEX "runMain apps.Index baseline"
12
+curl -X POST "weywot3:9200/_aliases?pretty" -H 'Content-Type: application/json' -d'
13
+{
14
+ "actions" : [
15
+ { "remove" : { "index" : "*", "alias" : "'"$ALIAS"'" } },
16
+ { "add" : { "index" : "'"$INDEX"'", "alias" : "'"$ALIAS"'" } }
17
+ ]
18
+}
19
+'
20
curl -S -s -o /dev/null https://rppd.lobid.org
0 commit comments