Fix link to ES mappings file

This commit is contained in:
John Plaisted 2021-02-19 19:29:37 -08:00 committed by GitHub
parent e096c61a32
commit b9e9a08f3b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -102,19 +102,10 @@ More on this is explained in [ES guides](https://www.elastic.co/guide/en/elastic
## 4: Modify index config, so that the new mapping is picked up next time ## 4: Modify index config, so that the new mapping is picked up next time
If you want corp user search index to contain this new field `courses` next time docker containers are brought up, we need to add this field to [corpuser-index-config.json](../../docker/elasticsearch-setup/corpuser-index-config.json). If you want corp user search index to contain this new field `courses` next time docker containers are brought up, we need to add this field to [corpuser mappings](../../gms/impl/src/main/resources/index/corp-user/mappings.json).
``` ```
{ {
"settings": {
"index": {
"analysis": {
...
}
}
},
"mappings": {
"doc": {
"properties": { "properties": {
... ...
@ -123,8 +114,6 @@ If you want corp user search index to contain this new field `courses` next time
"type": "text" "type": "text"
} }
} }
}
}
} }
``` ```