Skip to content

Commit 825973d

Browse files
author
vikasrohit
authored
Merge pull request #44 from topcoder-platform/feature/link-attachments
Links as Attachments + Tags
2 parents 0ce1ef6 + e6f98e3 commit 825973d

File tree

7 files changed

+816
-819
lines changed

7 files changed

+816
-819
lines changed

config/default.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ module.exports = {
2929
esConfig: {
3030
HOST: process.env.ES_HOST || 'localhost:9200',
3131
AWS_REGION: process.env.AWS_REGION || 'us-east-1', // AWS Region to be used if we use AWS ES
32-
API_VERSION: process.env.ES_API_VERSION || '6.7',
32+
API_VERSION: process.env.ES_API_VERSION || '6.8',
3333
ES_PROJECT_INDEX: process.env.ES_PROJECT_INDEX || 'projects',
3434
ES_TIMELINE_INDEX: process.env.ES_TIMELINE_INDEX || 'timelines',
3535
ES_METADATA_INDEX: process.env.ES_METADATA_INDEX || 'metadata',

migrations/elasticsearch_sync.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,13 @@ function getRequestBody (indexName) {
5656
description: {
5757
type: 'string'
5858
},
59-
filePath: {
59+
path: {
60+
type: 'string'
61+
},
62+
type: {
63+
type: 'string'
64+
},
65+
tags: {
6066
type: 'string'
6167
},
6268
id: {

0 commit comments

Comments
 (0)