mirror of
https://github.com/quickwit-oss/tantivy.git
synced 2025-12-26 20:19:57 +00:00
Merge pull request #2578 from quickwit-oss/1686a/buildable-histo-agg
make DateHistogramAggregationReq buildable
This commit is contained in:
@@ -34,10 +34,10 @@ use crate::aggregation::*;
|
|||||||
pub struct DateHistogramAggregationReq {
|
pub struct DateHistogramAggregationReq {
|
||||||
#[doc(hidden)]
|
#[doc(hidden)]
|
||||||
/// Only for validation
|
/// Only for validation
|
||||||
interval: Option<String>,
|
pub interval: Option<String>,
|
||||||
#[doc(hidden)]
|
#[doc(hidden)]
|
||||||
/// Only for validation
|
/// Only for validation
|
||||||
calendar_interval: Option<String>,
|
pub calendar_interval: Option<String>,
|
||||||
/// The field to aggregate on.
|
/// The field to aggregate on.
|
||||||
pub field: String,
|
pub field: String,
|
||||||
/// The format to format dates. Unsupported currently.
|
/// The format to format dates. Unsupported currently.
|
||||||
|
|||||||
Reference in New Issue
Block a user