diff options
author | varac <varacanero@zeromail.org> | 2017-04-11 14:07:11 +0200 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2017-04-11 14:07:11 +0200 |
commit | 88bed2db0c6a7fc15861b5e1c498fcd95c84ade8 (patch) | |
tree | 55f0610f85d9a5310108d177ec8be9247120bfe4 /elastic | |
parent | 9e58bdb4ca0982aefa1f76f46c7064ffd05dcfcd (diff) |
Clear cache after uploading
Diffstat (limited to 'elastic')
-rwxr-xr-x | elastic/load.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/elastic/load.sh b/elastic/load.sh index 1af1e9b..c077948 100755 --- a/elastic/load.sh +++ b/elastic/load.sh @@ -143,3 +143,6 @@ do -d @${file} || exit 1 echo done + +# Clear cache +${CURL} -XPOST ${ELASTICSEARCH}/_cache/clear |