Fork me on GitHub
#clojurewerkz
<
2017-09-10
>
mrchance23:09:52

Hi, I am using elastisch for the first time, and it seems the documentation is incorrect? The example is (esd/search conn "myapp_development" "person" :query (q/term :biography "New York")), where esd is [clojurewerkz.elastisch.rest.document :as esd]. This just gives an arity exception immediately.

mrchance23:09:35

Also, I don't really understand the helper functions, they seem to do almost nothing

mrchance23:09:40

So I built the query myself, using the elasticsearch query structure, and tried a range query with both LocalDateTime and java.util.Dates, and it didn't work as well, unless I extracted the epoch milliseconds out of them 😞