mirror of
https://github.com/datahub-project/datahub.git
synced 2025-08-21 23:58:06 +00:00
Fix link to ES mappings file
This commit is contained in:
parent
e096c61a32
commit
b9e9a08f3b
@ -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
|
## 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": {
|
"properties": {
|
||||||
"index": {
|
|
||||||
"analysis": {
|
|
||||||
...
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mappings": {
|
|
||||||
"doc": {
|
|
||||||
"properties": {
|
|
||||||
|
|
||||||
...
|
...
|
||||||
|
|
||||||
"courses": {
|
"courses": {
|
||||||
"type": "text"
|
"type": "text"
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user