Merge pull request #2150 from haiyanmeng/stats

Add `fileType` and `User` into the index
This commit is contained in:
Jeff Regan
2020-01-28 09:18:31 -08:00
committed by GitHub
18 changed files with 1276 additions and 77 deletions

View File

@@ -20,12 +20,18 @@ const IndexConfig = `
"repositoryUrl": {
"type": "keyword"
},
"user": {
"type": "keyword"
},
"filePath": {
"type": "keyword"
},
"defaultBranch": {
"type": "keyword"
},
"fileType": {
"type": "keyword"
},
"document": {
"type": "text"
},