Skip to content

0.20.7

Compare
Choose a tag to compare
@KodrAus KodrAus released this 17 Dec 06:05
· 121 commits to master since this release

This release adds the index_exists method to the client.

elastic

  • Adds an index_exists method to the sync and async clients

elastic_responses

  • Add an IndexExistsResponse type. Elasticsearch doesn't actually return any data with an index exists response (it just uses the HTTP status code), so this type doesn't actually represent what Elasticsearch's API returns
  • Adds support for returning arbitrary json data from the IsOk trait. This makes it possible to return data to deserialise as an IndexExistsResponse depending on the status code