Elasticsearch client and DSL for Haskell released


(Christopher Allen) #1

There was a very minimal set of bindings previously available (from
acid2/ocharles) but I felt the Elasticsearch DSL merited a proper sketching
out via Haskell types for ease of use and explicitness.

I decided to release now because I think the core set of functionality
people use on a regular basis is covered and well tested, I used the Scala
client elastic4s as an initial guideline but decided to exceed it in
coverage. I wrote this library for my own use and also as a way to
structure and document the data structures the ES Query DSL uses. One idea
I've was to lift Elasticsearch errors into types rather than leaving them
as HTTP responses, which they currently are. I must say, writing this
library in Haskell was a real pleasure. Having the types catch the vast
majority of my mistakes saved me a lot of time as I went.

I'd love API feedback and any questions anyone has.

Cheers,
Chris Allen

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/5f117fbb-f330-4637-befa-3d92a3bb058b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(system) #2