   (get-value
     [this key-name]
     (get-in (esd/get conn index-name type-name key-name)
-            [:_source :value]))
+            [:_source :value2]))
 
   (set-value
     [this key-name value]
     (try-elastic-operation
       (esd/create conn index-name type-name
-                  {:key-name key-name :value value}
+                  {:key-name key-name :value2 value}
                   :id key-name
                   :refresh true)))
 

              index-name type-name
              :query {:filtered {:query (q/match-all)
                                 :filter {:term {:key-name "foo"}}}}
              :fields [:value])

  )


    :_all {:enabled false},
    :_id   {:path "key-name"},
    :properties {:key-name string-type

                 ;; Deprecated, remove in future sprint. We changed the value to support values
                 ;; larger than 32KB.
                 :value string-type

                 :value2 string-type}}})

(def index-settings
  "Defines the cubby elasticsearch index settings."
