     :_source {:enabled true},
     :_all {:enabled false},
     :_id   {:path "key-name"},
-    :properties {:key-name string-type
+    :properties {:key-name indexed-string-type
 
                  ;; Deprecated, remove in future sprint. We changed the value to support values
                  ;; larger than 32KB.
-                 :value string-type
+                 :value indexed-string-type
 
-                 :value2 string-type}}})
+                 :value2 not-indexed-string-type}}})
 
 (def index-settings
   "Defines the cubby elasticsearch index settings."

    (if (esi/exists? conn index-name)
      (do
        (info "Updating cubby mappings and settings")
        (doseq [[type-name mapping] mappings]
          (esi/update-mapping conn index-name type-name mapping)))
      (do
        (info "Creating cubby index")
        (esi/create conn index-name :settings index-settings :mappings mappings)

    :number_of_replicas 1,
    :refresh_interval "1s"}})


(defn create-index-or-update-mappings
  "Creates the index needed in Elasticsearch for data storage"
  [elastic-store]
