Remove redundant repetition of partition scores in mappings

Original commit: elastic/x-pack-elasticsearch@4194a16529
This commit is contained in:
Dimitrios Athanasiou 2016-11-30 11:40:37 +00:00 committed by Dimitris Athanasiou
parent 75c36207b4
commit 9dda1ee21a
1 changed files with 0 additions and 17 deletions

View File

@ -167,23 +167,6 @@ public class ElasticsearchMappings {
.startObject(AnomalyRecord.PROBABILITY.getPreferredName())
.field(TYPE, DOUBLE)
.endObject()
.startObject(Bucket.PARTITION_SCORES.getPreferredName())
.field(TYPE, NESTED)
.startObject(PROPERTIES)
.startObject(AnomalyRecord.PARTITION_FIELD_NAME.getPreferredName())
.field(TYPE, KEYWORD)
.endObject()
.startObject(AnomalyRecord.PARTITION_FIELD_VALUE.getPreferredName())
.field(TYPE, KEYWORD)
.endObject()
.startObject(AnomalyRecord.ANOMALY_SCORE.getPreferredName())
.field(TYPE, DOUBLE)
.endObject()
.startObject(AnomalyRecord.PROBABILITY.getPreferredName())
.field(TYPE, DOUBLE)
.endObject()
.endObject()
.endObject()
.endObject()
.endObject()