From 88bed2db0c6a7fc15861b5e1c498fcd95c84ade8 Mon Sep 17 00:00:00 2001 From: varac Date: Tue, 11 Apr 2017 14:07:11 +0200 Subject: Clear cache after uploading --- elastic/load.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'elastic/load.sh') 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 -- cgit v1.2.3