Add Influencer.influencer_field_value to custom all field (elastic/elasticsearch#624)
Original commit: elastic/x-pack-elasticsearch@5aa98d84dc
This commit is contained in:
parent
7a7ec570ae
commit
f6564c03e2
|
@ -111,7 +111,8 @@ public class ElasticsearchMappings {
|
||||||
* <li>AnomalyCause.by_field_value</li>
|
* <li>AnomalyCause.by_field_value</li>
|
||||||
* <li>AnomalyCause.partition_field_value</li>
|
* <li>AnomalyCause.partition_field_value</li>
|
||||||
* <li>AnomalyCause.over_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>
|
* </ul>
|
||||||
*
|
*
|
||||||
* @param termFieldNames All the term fields (by, over, partition) and influencers
|
* @param termFieldNames All the term fields (by, over, partition) and influencers
|
||||||
|
@ -382,6 +383,7 @@ public class ElasticsearchMappings {
|
||||||
.endObject()
|
.endObject()
|
||||||
.startObject(Influencer.INFLUENCER_FIELD_VALUE.getPreferredName())
|
.startObject(Influencer.INFLUENCER_FIELD_VALUE.getPreferredName())
|
||||||
.field(TYPE, KEYWORD)
|
.field(TYPE, KEYWORD)
|
||||||
|
.field(COPY_TO, ALL_FIELD_VALUES)
|
||||||
.endObject();
|
.endObject();
|
||||||
|
|
||||||
return builder;
|
return builder;
|
||||||
|
|
Loading…
Reference in New Issue