Elasticsearch Rust Client: Update 05 Oct 2017


(Ashley Mannix) #1

Hi everyone!

It's been a busy few months, but I've just pushed out a new release of the Elasticsearch Rust client I work on. I'm pretty excited to get this one out the door, I think it's setting us up quite nicely for future enhancements.

If you get a chance to check it out I'd love to hear your feedback :slight_smile:

Major changes

  • All the libraries that make up the client are now collected in a single GitHub repository. This has the benefit of sharing CI infrastructure and being easier to contribute to
  • Add an async API. Most of the code is shared through generics so the sync and async APIs appear similar
  • Some proper integration test infrastructure that can test different client configurations against containerised clusters

In progress

  • Support for connection pooling with static node addresses or sniffed addresses. The API is general enough that you could implement a connection pooling strategy with Zookeeper or marathon or whatever else
  • Query DSL (exciting!)
  • Reworking aggregations to be more generally useful

Upcoming

  • Better support for bulk requests
  • Reworking request parameters to avoid some unnecessary copies
  • More integration tests and docs!