3 ms·
re: Elasticsearch Rethink's 'ungroup' method lets you chain multiple reductions, which is incredibly powerful for building aggregation queries. Elasticsearch d
by findjashua 12y ago
re: Elasticsearch
Rethink's 'ungroup' method lets you chain multiple reductions, which is incredibly powerful for building aggregation queries. Elasticsearch doesn't have that capability, and hence its aggregation capabilities are severely limited.
For example, with Rethink, it's very easy to compute a metric from metrics computed in a previous reduction. You can't do that with Elasticsearch, since its dsl allows metrics to only be computed from fields in the raw document, but not from other aggregation metrics.
- baq 12y agosplunk has eventstats command which computes metrics and assigns them to fields of documents so you can process them. is that something similar? (except the fact that splunk's invoices are know to cause cardiac arrest?)
- findjashua 12y agobesides the price, it's an extra moving part in the system. Also, can it add the fields to the aggregated result or just the raw documents?
- baq 12y agosplunk can do both: stats aggregates, eventstats adds aggregate fields to raw documents.