Add Influencer.influencer_field_value to custom all field (elastic/elasticsearch#624)
Original commit: elastic/x-pack-elasticsearch@5aa98d84dcdefbf26f1aaf003f28e6a27f7dfb5c
@@ -111,7 +111,8 @@ public class ElasticsearchMappings {
* <li>AnomalyCause.by_field_value</li>
* <li>AnomalyCause.partition_field_value</li>
* <li>AnomalyCause.over_field_value</li>
- * <li>Influencer.influencer_field_values</li>
+ * <li>AnomalyRecord.Influencers.influencer_field_values</li>
+ * <li>Influencer.influencer_field_value</li>
* </ul>
*
* @param termFieldNames All the term fields (by, over, partition) and influencers
@@ -382,6 +383,7 @@ public class ElasticsearchMappings {
.endObject()
.startObject(Influencer.INFLUENCER_FIELD_VALUE.getPreferredName())
.field(TYPE, KEYWORD)
+ .field(COPY_TO, ALL_FIELD_VALUES)
.endObject();
return builder;
