diff -r 88ef502db9b1 -r 0baf6315d838 docs/README.txt --- a/docs/README.txt Fri Nov 30 14:36:43 2018 +0100 +++ b/docs/README.txt Fri Nov 30 14:46:38 2018 +0100 @@ -10,3 +10,33 @@ curl --noproxy localhost -XPUT http://localhost:9200/onf_website/WfNewsEvent/_mapping -d @mappings/WfNewsEvent.json curl --noproxy localhost -XPUT http://localhost:9200/onf_website/WfTopic/_mapping -d @mappings/WfTopic.json curl --noproxy localhost -XPUT http://localhost:9200/onf_website/WfBlogPost/_mapping -d @mappings/WfBlogPost.json + + +PUT /onf_website/_mapping/PyAMS_document +{ + "properties": { + "header": { + "type": "object", + "properties": { + "en": { + "type": "text" + }, + "fr": { + "type": "text", + "analyzer": "french", + "search_analyzer": "french_search" + } + } + } + } +} + + +PUT /onf_website/_mapping/PyAMS_document +{ + "properties": { + "parent_ids": { + "type": "keyword" + } + } +}