diff -r 40f5193162ee -r 92a69e693cca docs/README.txt --- a/docs/README.txt Fri Jan 04 12:21:56 2019 +0100 +++ b/docs/README.txt Fri Jan 04 17:16:05 2019 +0100 @@ -124,6 +124,43 @@ } } +PUT /onf_website/_mapping/PyAMS_document +{ + "properties": { + "link": { + "type": "object", + "properties": { + "title": { + "type": "object", + "properties": { + "en": { + "type": "text" + }, + "fr": { + "type": "text", + "analyzer": "french", + "search_analyzer": "french_search" + } + } + }, + "description": { + "type": "object", + "properties": { + "en": { + "type": "text" + }, + "fr": { + "type": "text", + "analyzer": "french", + "search_analyzer": "french_search" + } + } + } + } + } + } +} + Update index mappings: ======================