Skip to content

Instantly share code, notes, and snippets.

@vijaykiran
Created March 2, 2012 14:47
Show Gist options
  • Save vijaykiran/1958842 to your computer and use it in GitHub Desktop.
Save vijaykiran/1958842 to your computer and use it in GitHub Desktop.
user=> (use 'clojurewerkz.elastisch.index)
nil
user=> (create "wiki")
NoSuchMethodError clojure.lang.Numbers.lt(II)Z clojure.data.json/write-json-string (json.clj:208)
user=> (exists? "wiki")
false
user=> (create "wiki" :mappings {:wikipage {:properties { :title {:type "string"}}})
RuntimeException Unmatched delimiter: ) clojure.lang.Util.runtimeException (Util.java:156)
user=> (create "wiki" :mappings {:wikipage {:properties { :title {:type "string"}}}})
NoSuchMethodError clojure.lang.Numbers.lt(II)Z clojure.data.json/write-json-string (json.clj:208)
user=>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment