OpenSearch/plugin
Dimitris Athanasiou 3570eb32d3 [ML] Retrieve model_size_stats via search (elastic/x-pack-elasticsearch#1326)
This is a task towards allowing rollover.

Multiple model_size_stats are stored in order to allow
analytics of the memory usage over time. The job _stats
need to display the latest model_size_stats. Before this
commit, the latest model_size_stats was being stored with
a special ID and it was retrieved using that ID. This
does not lend itself well for rollover as we would end up
with multiple of those special IDs in the rolled indices.

This commit removes the need to store a special model_size_stats
version. Job _stats now retrieve the model_size_stats by searching
for the latest one. It also uses a manual ID for all model_size_stats
in order to maintain a single document per log_time.

Relates elastic/x-pack-elasticsearch#827

Original commit: elastic/x-pack-elasticsearch@b2796e9b08
2017-05-05 17:05:39 +01:00
..
bin/x-pack Rename core plugin and transport dirs 2017-02-10 11:02:42 -08:00
bwc-zip Build: Build 5.x version of xpack for bwc tests to use (elastic/x-pack-elasticsearch#885) 2017-04-07 22:19:30 -07:00
config/x-pack Rename core plugin and transport dirs 2017-02-10 11:02:42 -08:00
keys Rename core plugin and transport dirs 2017-02-10 11:02:42 -08:00
licenses Upgrade Netty to 4.1.10.Final 2017-05-01 10:25:42 -04:00
src [ML] Retrieve model_size_stats via search (elastic/x-pack-elasticsearch#1326) 2017-05-05 17:05:39 +01:00
build.gradle Disable setting available processors in tests 2017-05-01 19:27:45 -04:00