TL;DR
Elastisch is a battle tested, small but feature rich and well documented Clojure client for ElasticSearch. It supports virtually every Elastic Search feature and has solid documentation.
2.0.0-beta1 is a preview release of Elastisch 2.0, which focuses on ElasticSearch 1.0 compatibility.
Changes between Elastisch 1.4.0 and 2.0.0
ElasticSearch 1.0 Compatibility
Main goal of Elastisch 2.0 is ElasticSearch 2.0 compatibility. This includes minor API changes (in line with ElasticSearch 1.0 API and terminology changes) and moderate internal modifications.
Support for cluster nodes stats and info REST APIs
clojureworkz.elastisch.rest.admin/nodes-info
and clojureworkz.elastisch.rest.admin/nodes-stats
are new administrative functions that provide access to ElasticSearch
cluster stats and node info.
Examples:
1 2 3 4 5 6 7 8 9 |
|
See ElasticSearch nodes stats documentation, nodes info page, and node specification page for more info.
Contributed by Joachim De Beule.
Support for _cluster/state REST API
Added (clojureworkz.elastisch.rest.admin/cluster-state & {:as params})
Examples:
1 2 3 4 |
|
See ElasticSearch documentation for more info.
Contributed by Joachim De Beule.
Support for _cluster/health REST API
Added (clojureworkz.elastisch.rest.admin/cluster-health & {:as params})
Example:
1 2 3 4 5 6 |
|
See ElasticSearch documentation for more info.
Contributed by Joachim De Beule.
Support for analyze in REST API client
Added (doc/analyze text & {:as params})
See ElasticSearch documentation for more info.
Examples:
1 2 3 4 5 6 7 |
|
Contributed by Joachim De Beule
Query String Escaping
clojurewerkz.elastisch.query/query-string
accepts a new option, :escape-with
,
which is a function that performs escaping of special characters in query string
queries.
By default clojurewerkz.elastisch.escape/escape-query-string-characters
is used.
Contributed by Ben Reinhart (Groupon).
ElasticSearch Native Client Upgrade
Elastisch now depends on ElasticSearch native client version 1.0.1
.
clj-http Update
clj-http dependency has been upgraded to version 0.9.0
.
Full Change Log
Elastisch change log is available on GitHub.
Thank You, Contributors
Kudos to Richie Vos for contributing to this release.
Elastisch is a ClojureWerkz Project
Elastisch is part of the group of libraries known as ClojureWerkz, together with
- Langohr, a Clojure client for RabbitMQ that embraces the AMQP 0.9.1 model
- Monger, a Clojure MongoDB client for a more civilized age
- Cassaforte, a Clojure Cassandra client
- Titanium, a Clojure graph library
- Neocons, a client for the Neo4J REST API
- Welle, a Riak client with batteries included
- Quartzite, a powerful scheduling library
and several others. If you like Elastisch, you may also like our other projects.
Let us know what you think on Twitter or on the Clojure mailing list.
About the Author
Michael on behalf of the ClojureWerkz Team