elasticsearch_dsl/search/queries/params/range_query.rs
1/// Indicates how the range query matches values for range fields.
2#[derive(Debug, Clone, PartialEq, Eq, Serialize)]
3#[serde(rename_all = "UPPERCASE")]
4pub enum RangeRelation {
5 /// Matches documents with a range field value that intersects the query’s range.
6 Intersects,
7
8 /// Matches documents with a range field value that entirely contains the query’s range.
9 Contains,
10
11 /// Matches documents with a range field value entirely within the query’s range.
12 Within,
13}