OpenSearch/elasticsearch
Dimitris Athanasiou 37cd03ad4d Split records and influencers from bucket (elastic/elasticsearch#389)
In c++ the results are built all together under a bucket hierarchy.
This buckets was written out and java would read it and split the
bucket into its parts: the bucket itself, its records and its
influencers.

During the migration, the bucket started being persisted as a whole,
including its records and influencers.

This commit is changing this by modifying the way results are written
in c++. This way, the java and c++ results writing/reading are in sync.

To achieve this, the change involved writing records and influencers as
top level results from c++. In addition, they are written as an array
object in order to allow the java side to persist them in a bulk
request.

* Fix bucket counting in results processor

Original commit: elastic/x-pack-elasticsearch@feadf3f887
2016-11-25 17:54:24 +00:00
..
licenses Moves Java code to fit x-pack style structure 2016-11-18 16:35:00 +00:00
src Split records and influencers from bucket (elastic/elasticsearch#389) 2016-11-25 17:54:24 +00:00
.gitignore Moves Java code to fit x-pack style structure 2016-11-18 16:35:00 +00:00
README.asciidoc Moves Java code to fit x-pack style structure 2016-11-18 16:35:00 +00:00
build.gradle Gradle task bundlePack needs to depend on cpp:strip (elastic/elasticsearch#368) 2016-11-23 14:00:08 +00:00
gradle.properties Moves Java code to fit x-pack style structure 2016-11-18 16:35:00 +00:00

README.asciidoc

= Elasticsearch Prelert Plugin

Behavioral Analytics for Elasticsearch