fix format

This commit is contained in:
Giovanni Cuccu
2024-04-20 10:20:18 +02:00
parent 8f1409c8a7
commit 21e5937c67
4 changed files with 9 additions and 4 deletions

View File

@@ -276,7 +276,8 @@ impl AggregationWithAccessor {
..
})
| ExtendedStats(ExtendedStatsAggregation {
field: ref field_name, ..
field: ref field_name,
..
})
| Sum(SumAggregation {
field: ref field_name,

View File

@@ -8,7 +8,9 @@ use rustc_hash::FxHashMap;
use serde::{Deserialize, Serialize};
use super::bucket::GetDocCount;
use super::metric::{ExtendedStats, PercentilesMetricResult, SingleMetricResult, Stats, TopHitsMetricResult};
use super::metric::{
ExtendedStats, PercentilesMetricResult, SingleMetricResult, Stats, TopHitsMetricResult,
};
use super::{AggregationError, Key};
use crate::TantivyError;

View File

@@ -1,4 +1,5 @@
use std::fmt::Debug;
use serde::{Deserialize, Serialize};
use super::*;

View File

@@ -16,8 +16,9 @@ use super::metric::{
SumAggregation,
};
use crate::aggregation::bucket::TermMissingAgg;
use crate::aggregation::metric::TopHitsSegmentCollector;
use crate::aggregation::metric::{IntermediateExtendedStats, IntermediateInnerStatsCollector};
use crate::aggregation::metric::{
IntermediateExtendedStats, IntermediateInnerStatsCollector, TopHitsSegmentCollector,
};
pub(crate) trait SegmentAggregationCollector: CollectorClone + Debug {
fn add_intermediate_aggregation_result(