Crate elastic_lens

Source
Expand description

ElasticLens

An opinionated framework to work with Elasticsearch

Modules§

client
Any iteractions between your code and the Elasticsearch server are encapsulated under this module. One major note is that you are not working directly with an official client, although one may be supported later. What you are working with instead is a wrapper around some third party library that is doing the heavy lifting.
prelude
If you use elastic_lens::prelude::* you will bring into scope most of the functionality needed to get a client setup, create requests, and parse results.
request
All of the logic surrounding creating a request is held in this module.
response
All of the logic for parsing and working with a response is in this module.

Macros§

pub_field
Create Public Constant Field

Enums§

Error
This encapsulates every error which can be emitted by ElasticLens. While there are more fine-grained error types in this crate they can all be converted to this root type.