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.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;
|
||||
|
|
Loading…
Reference in New Issue