From ad22a95f9ef8a9068906660aa853346610ea210e Mon Sep 17 00:00:00 2001 From: bisoldi Date: Mon, 8 May 2017 12:51:51 -0400 Subject: [PATCH] Modified mindbender-search to convert the elasticsearch index name to lowercase. --- search/mindbender-search | 3 +++ 1 file changed, 3 insertions(+) diff --git a/search/mindbender-search b/search/mindbender-search index c27cba4..b44592e 100755 --- a/search/mindbender-search +++ b/search/mindbender-search @@ -41,6 +41,9 @@ cd "$DEEPDIVE_APP" : ${ELASTICSEARCH_INDEX_NAME:=$(basename "$DEEPDIVE_APP")} : ${ELASTICSEARCH_BULK_BATCHSIZE:=1000} +# Convert any uppercase characters to lowercase - Elasticsearch does not allow uppercase letters +ELASTICSEARCH_INDEX_NAME=`eval echo "$ELASTICSEARCH_INDEX_NAME" | tr '[:upper:]' '[:lower:]'` + # parse command-line args case ${1:-} in gui|update|status|drop)