From b9e9a08f3b43d25a988a93d08b847fc5479554fe Mon Sep 17 00:00:00 2001 From: John Plaisted Date: Fri, 19 Feb 2021 19:29:37 -0800 Subject: [PATCH] Fix link to ES mappings file --- docs/how/search-over-new-field.md | 21 +++++---------------- 1 file changed, 5 insertions(+), 16 deletions(-) diff --git a/docs/how/search-over-new-field.md b/docs/how/search-over-new-field.md index 9883c91287..c4145f4bd4 100644 --- a/docs/how/search-over-new-field.md +++ b/docs/how/search-over-new-field.md @@ -102,27 +102,16 @@ 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 -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": { - ... + ... - "courses": { - "type": "text" - } - } + "courses": { + "type": "text" } } }