@@ -85,48 +85,6 @@ const topResources = {
85
85
targetField : 'skillprovider' ,
86
86
maxMatches : '1'
87
87
}
88
- } ,
89
- user : {
90
- index : config . get ( 'ES.USER_INDEX' ) ,
91
- type : config . get ( 'ES.USER_TYPE' ) ,
92
- ingest : {
93
- pipeline : {
94
- id : config . get ( 'ES.ENRICHMENT.user.pipelineId' )
95
- }
96
- } ,
97
- pipeline : {
98
- id : config . get ( 'ES.ENRICHMENT.user.pipelineId' ) ,
99
- processors : [
100
- {
101
- referenceField : config . get ( 'ES.ENRICHMENT.achievement.userField' ) ,
102
- enrichPolicyName : config . get ( 'ES.ENRICHMENT.achievementprovider.enrichPolicyName' ) ,
103
- field : '_ingest._value.achievementsProviderId' ,
104
- targetField : '_ingest._value.achievementprovider' ,
105
- maxMatches : '1'
106
- } ,
107
- {
108
- referenceField : config . get ( 'ES.ENRICHMENT.userattribute.userField' ) ,
109
- enrichPolicyName : config . get ( 'ES.ENRICHMENT.attribute.enrichPolicyName' ) ,
110
- field : '_ingest._value.attributeId' ,
111
- targetField : '_ingest._value.attribute' ,
112
- maxMatches : '1'
113
- } ,
114
- {
115
- referenceField : config . get ( 'ES.ENRICHMENT.userrole.userField' ) ,
116
- enrichPolicyName : config . get ( 'ES.ENRICHMENT.role.enrichPolicyName' ) ,
117
- field : '_ingest._value.roleId' ,
118
- targetField : '_ingest._value.role' ,
119
- maxMatches : '1'
120
- } ,
121
- {
122
- referenceField : config . get ( 'ES.ENRICHMENT.userskill.userField' ) ,
123
- enrichPolicyName : config . get ( 'ES.ENRICHMENT.skill.enrichPolicyName' ) ,
124
- field : '_ingest._value.skillId' ,
125
- targetField : '_ingest._value.skill' ,
126
- maxMatches : '1'
127
- }
128
- ]
129
- }
130
88
}
131
89
}
132
90
0 commit comments