{"repo":"mpenet/spandex","free":true,"listed":false,"github":"https://github.com/mpenet/spandex","clone":"git clone https://github.com/mpenet/spandex.git","description":"Elasticsearch client for Clojure (built on new ES 9.x java client)","language":"Clojure","stars":264,"topics":["clojure","elasticsearch","elasticsearch-client"],"license":null,"category":"networking-infra","readme_excerpt":"spandex Elasticsearch new low level rest-client wrapper Why? To quote \"State of the official Elasticsearch Java clients\" The Java REST client is the future for Java users of Elasticsearch. Because the legacy native client is a bit of a nightmare to deal with (for many reasons) and the new REST client is quite capable and fast too, see \"Benchmarking REST client and transport client\" Not to mention it supports some interesting features: compatibility with any Elasticsearch version load balancing across all available nodes failover in case of node failures and upon specific response codes failed connection penalization persistent connections trace logging of requests and responses optional automatic discovery of cluster nodes (also known as sniffing) Goals Be minimal & performant RING inspired All \"exotic\" features should be optional Not a giant DSL over another DSL, just maps everywhere. Read ElasticSearch doc - done, not another layer of indirection Provide minimal (and optional) utils to do the boring stuff (bulk, scroll queries, compose urls) Can do async via simple callbacks based api or core.async Provide specs Setup Work with https via ssh tunneling First setup and make sure that you have appropriate access to the host via tunneling. e.g. Add/edit your /.ssh/config to look something like You can then start ssh tunneling with Then you can create your client using the following :http-client options like Constructing URLs Most of spandex request functions take a request map ","default_branch":null,"files":null,"tree":[],"storefront":"/r/mpenet","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mpenet/spandex/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}