mirror of
https://github.com/quickwit-oss/tantivy.git
synced 2026-06-05 01:50:42 +00:00
expose IntermediateAggregationResults->into_final_bucket_result
This commit is contained in:
@@ -36,10 +36,7 @@ pub struct IntermediateAggregationResults {
|
||||
|
||||
impl IntermediateAggregationResults {
|
||||
/// Convert intermediate result and its aggregation request to the final result.
|
||||
pub(crate) fn into_final_bucket_result(
|
||||
self,
|
||||
req: Aggregations,
|
||||
) -> crate::Result<AggregationResults> {
|
||||
pub fn into_final_bucket_result(self, req: Aggregations) -> crate::Result<AggregationResults> {
|
||||
self.into_final_bucket_result_internal(&(req.into()))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user