You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Number keys are not supported in JSON.
Serialization fails for FxHashMap<Key::F64(_), _>
#[derive(Default,Clone,Debug,PartialEq,Serialize,Deserialize)]/// Term aggregation including error countspubstructIntermediateTermBucketResult{pub(crate)entries:FxHashMap<Key,IntermediateTermBucketEntry>,pub(crate)sum_other_doc_count:u64,pub(crate)doc_count_error_upper_bound:u64,}#[derive(Clone,Debug,Serialize,Deserialize,PartialOrd)]/// The key to identify a bucket.#[serde(untagged)]pubenumKey{/// String keyStr(String),/// `f64` keyF64(f64),}
The text was updated successfully, but these errors were encountered:
- Improve support for mixed types in JSON field aggregations (pick the right field, #1913)
- Resolve the issue with JSON serialization for numeric keys (fixes#1967)
- Add JSON round-trip test for term buckets
- Remove `u64_lenient`, as this is a footgun without the type
- move aggregation benchmarks
- Improve support for mixed types in JSON field aggregations (pick the right field, #1913)
- Resolve the issue with JSON serialization for numeric keys (fixes#1967)
- Add JSON round-trip test for term buckets
- Remove `u64_lenient`, as this is a footgun without the type
- move aggregation benchmarks
* Better mixed types support in aggs and fix serialization issue
- Improve support for mixed types in JSON field aggregations (pick the right field, #1913)
- Resolve the issue with JSON serialization for numeric keys (fixes#1967)
- Add JSON round-trip test for term buckets
- Remove `u64_lenient`, as this is a footgun without the type
- move aggregation benchmarks
* remove shadowing
Number keys are not supported in JSON.
Serialization fails for
FxHashMap<Key::F64(_), _>
The text was updated successfully, but these errors were encountered: