   "The name of the index in elastic search."
   "cubby_cached_values")
 
-(def string-type
+(def not-indexed-string-type
   "The mapping type of saved string values"
   {:type "string"
    ;; Stored so we can retrieve the value

   ;; Do not index the field, otherwise strings are limited to 32KB. The theoretical max size for
   ;; a field that is not indexed is 2GB.
   :index "no"})

(def type-name
  "The name of the mapping type within the cubby elasticsearch index."

(comment

  (def db (get-in user/system [:apps :cubby :db]))

  (create-index-or-update-mappings db)
  (esi/get-mapping (:conn db) index-name type-name)

  (d/reset db)

