File tree 2 files changed +5
-4
lines changed
2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,8 @@ co(function * createIndex () {
20
20
body . mappings [ config . get ( 'esConfig.ES_TYPE' ) ] = {
21
21
properties : {
22
22
...existingMappings . properties ,
23
- challengeId : { type : 'keyword' }
23
+ challengeId : { type : 'keyword' } ,
24
+ memberId : { type : 'keyword' }
24
25
}
25
26
}
26
27
yield esClient . indices . create ( {
Original file line number Diff line number Diff line change @@ -10,9 +10,9 @@ const helper = require('../src/common/helper')
10
10
co ( function * deleteIndex ( ) {
11
11
logger . info ( 'ES Index deletion started!' )
12
12
const esClient = helper . getEsClient ( )
13
- yield esClient . indices . delete ( {
14
- index : config . get ( 'esConfig.ES_INDEX' )
15
- } )
13
+ // yield esClient.indices.delete({
14
+ // index: config.get('esConfig.ES_INDEX')
15
+ // })
16
16
yield esClient . indices . delete ( {
17
17
index : config . get ( 'esConfig.ES_INDEX_V2' )
18
18
} )
You can’t perform that action at this time.
0 commit comments