Add a missing field to the mappings for modelSnapshot documents (elastic/elasticsearch#396)

This fixes one of the problems of elastic/elasticsearch#394

Original commit: elastic/x-pack-elasticsearch@ea627767d2
This commit is contained in:
David Roberts 2016-11-25 17:19:37 +00:00 committed by GitHub
parent 16b91c9d0f
commit 9286ef2304
1 changed files with 3 additions and 0 deletions

View File

@ -636,6 +636,9 @@ public class ElasticsearchMappings {
.endObject()
.startObject(Quantiles.TYPE.getPreferredName())
.startObject(PROPERTIES)
.startObject(Job.ID.getPreferredName())
.field(TYPE, KEYWORD)
.endObject()
.startObject(ES_TIMESTAMP)
.field(TYPE, DATE)
.endObject()