elasticsearch-dsl-rs
elasticsearch-dsl-rs copied to clipboard
Strongly typed Elasticsearch DSL written in Rust
Adds support for Elasticsearch's span queries, https://www.elastic.co/guide/en/elasticsearch/reference/current/span-queries.html This PR is still a work-in-progress. Closes #100
Test queries against actual Elasticsearch cluster.
Add include and exclude parameters to terms aggregation: https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-terms-aggregation.html#_filtering_values_4
The QueryDSL makes it possible to serialize the query. Would it be ok to add the Deserialize implementation?
The following query get serialized to an empty string, I guess the function_score is skipped during serialization. ```rust let query = Query::bool().should( Query::function_score() .boost_mode(FunctionBoostMode::Replace) .function( Function::decay( DecayFunction::Gauss, "coord", GeoLocation::new(0.0, 0.0),...