OpenSearch/plugin/core
Zachary Tong 7810dc6146 [Rollup] Add `value_count` metric (elastic/x-pack-elasticsearch#4315)
Adds `value_count` as one of the accepted metrics.  The caveat is that
it only accepts numeric values for two reasons:

- Job validation at creation makes sure all metrics are numeric fields.
Changing this would require new syntax (or disallowing anything but
value_count on mixed fields)
- when `toBuilders()` is called, we have to supply a ValueSource to
the ValueCountBuilder, and we don't know what the field type is at that
time.

These are both fixable, but relatively more involved.  I think numeric-only
is a reasonable limitation to start with

Original commit: elastic/x-pack-elasticsearch@270f24c8bf
2018-04-06 10:47:33 -07:00
..
licenses Build: Fix third party audit task for xpack core (elastic/x-pack-elasticsearch#3656) 2018-01-22 22:58:34 -08:00
src [Rollup] Add `value_count` metric (elastic/x-pack-elasticsearch#4315) 2018-04-06 10:47:33 -07:00
build.gradle Remove license key leniency (elastic/x-pack-elasticsearch#4277) 2018-04-03 13:45:07 -04:00
snapshot.key Build: Remove public license key and inject it during release builds (elastic/x-pack-elasticsearch#3916) 2018-03-20 22:06:05 -07:00