Clear cache after uploading
authorvarac <varacanero@zeromail.org>
Tue, 11 Apr 2017 12:07:11 +0000 (14:07 +0200)
committervarac <varacanero@zeromail.org>
Tue, 11 Apr 2017 12:07:11 +0000 (14:07 +0200)
elastic/load.sh

index 1af1e9b..c077948 100755 (executable)
@@ -143,3 +143,6 @@ do
         -d @${file} || exit 1
     echo
 done
+
+# Clear cache
+${CURL} -XPOST ${ELASTICSEARCH}/_cache/clear