Skip to content

Commit

Permalink
switch to Aggregation without serde_untagged (#2003)
Browse files Browse the repository at this point in the history
* refactor result handling

* remove Internal stuff

* merge different accessors

* switch to Aggregation without serde_untagged

* fix doctests
  • Loading branch information
PSeitz authored Apr 25, 2023
1 parent 7b31100 commit 2e369db
Show file tree
Hide file tree
Showing 18 changed files with 804 additions and 1,155 deletions.
6 changes: 1 addition & 5 deletions examples/aggregation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,8 @@
// ---

use serde_json::{Deserializer, Value};
use tantivy::aggregation::agg_req::{
Aggregation, Aggregations, BucketAggregation, BucketAggregationType, MetricAggregation,
};
use tantivy::aggregation::agg_req::Aggregations;
use tantivy::aggregation::agg_result::AggregationResults;
use tantivy::aggregation::bucket::{RangeAggregation, RangeAggregationRange};
use tantivy::aggregation::metric::AverageAggregation;
use tantivy::aggregation::AggregationCollector;
use tantivy::query::AllQuery;
use tantivy::schema::{self, IndexRecordOption, Schema, TextFieldIndexing, FAST};
Expand Down
Loading

0 comments on commit 2e369db

Please sign in to comment.