diff --git a/schema/elasticsearch/visibility/versioned/v3/upgrade.sh b/schema/elasticsearch/visibility/versioned/v3/upgrade.sh index 2d0008ba4746..9bb939ebca00 100755 --- a/schema/elasticsearch/visibility/versioned/v3/upgrade.sh +++ b/schema/elasticsearch/visibility/versioned/v3/upgrade.sh @@ -28,11 +28,6 @@ fi echo "=== Step 1. Add new builtin search attributes ===" -case $ES_VERSION in - v6) date_type='date' ; doc_type='/_doc' ;; - *) date_type='date_nanos' ; doc_type='' ;; -esac - new_mapping=' { "properties": {