elastic
elastic copied to clipboard
An Elasticsearch REST API client for Rust
can this project support async-std library?
My code starting on line 169: ```rust let es = elastic::client::AsyncClientBuilder::new() .static_nodes(backend_url) .build() .unwrap(); // TODO let timestamp = Utc::now(); let stats = Stats { core: "helsinki.fi".to_string(), status: res.response().status().as_u16(), query_time:...
Here is a very simple scroll request, but I can't make it work. Did I get something wrong? ```rust let req = ScrollRequest::new(json!({ "query": { "match_all": {} } })); let...
The default mapping type for serde_json::Value is "nested" and that not allow make normal queries on ElasticSearch for dynamics data. How i can change the type to "object". Already i...
This allow query in ElasticSearch without define nested queries.
This seems closely related to https://github.com/elastic-rs/elastic/issues/377 but opening a new issues as that one is closed. Getting "expected struct HitsTotal" issue with this on elasticsearch 6.7 (and the following versions...
Hey, thanks for making this! In the [docs](https://docs.rs/elastic/0.21.0-pre.5/elastic/types/document/index.html#specifying-a-default-index-name) it's noted that you can specify index expressions, however, turning this on results in a huge pile of ```the trait `elastic::prelude::StaticIndex` is...
Whenever I try to make a bulk query with the following code my program crashes with a stack overflow exception: ``` let ops = all_bets.into_iter().map(|x| bulk::().index(x)); client.bulk().index(BetSummary::index()).ty(BetSummary::static_ty()).extend(ops).send()?; ``` Could you...
Allows external crates to write their own `Sender` implementations and use them with `Client`. This involved refactoring a decent amount of the crate, and probably has some backwards-incompatible changes. I...
Should we do this before or after 0.21.0 (#319)? Also, see #405