opensearch-dsl 0.3.1

Strongly typed OpenSearch DSL
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/// Indicates how the range query matches values for range fields.
#[derive(Debug, Clone, PartialEq, Eq, Deserialize, Serialize)]
#[serde(rename_all = "UPPERCASE")]
pub enum RangeRelation {
    /// Matches documents with a range field value that intersects the query’s
    /// range.
    Intersects,

    /// Matches documents with a range field value that entirely contains the
    /// query’s range.
    Contains,

    /// Matches documents with a range field value entirely within the query’s
    /// range.
    Within,
}