Removes duplicate influencer field declaration for results (elastic/elasticsearch#668)
The `influencer_field_name` field was declared two in the results mapping. Once directly from `ElasticsearchMappings.resultsMapping()` and again from `addInfluencerFieldsToMapping(XContentBuilder)` which the `resultsMapping()` method calls.
this change removes the duplicate.
Original commit: elastic/x-pack-elasticsearch@5707a5ee53652d0ab5eb94f0b1a85ff6ed5eac52
@@ -198,9 +198,6 @@ public class ElasticsearchMappings {
.endObject()
.endObject()
.endObject()
- .startObject(BucketInfluencer.INFLUENCER_FIELD_NAME.getPreferredName())
- .field(TYPE, KEYWORD)
- .endObject()
// per-partition max probabilities mapping
.startObject(PerPartitionMaxProbabilities.PER_PARTITION_MAX_PROBABILITIES.getPreferredName())
