diff -r 5af41c7a366f -r 29361e3c8fda docs/mappings.json --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/docs/mappings.json Thu Apr 21 18:33:50 2016 +0200 @@ -0,0 +1,156 @@ +{ + "WfNewsEvent": { + "properties": { + "title": { + "type": "object", + "properties": { + "en": { + "type": "string" + }, + "fr": { + "type": "string", + "analyzer": "french", + "search_analyzer": "french_search" + } + } + }, + "short_name": { + "type": "object", + "properties": { + "en": { + "type": "string" + }, + "fr": { + "type": "string", + "analyzer": "french", + "search_analyzer": "french_search" + } + } + }, + "description": { + "type": "object", + "properties": { + "en": { + "type": "string" + }, + "fr": { + "type": "string", + "analyzer": "french", + "search_analyzer": "french_search" + } + } + }, + "body": { + "type": "object", + "properties": { + "en": { + "type": "string" + }, + "fr": { + "type": "string", + "analyzer": "french", + "search_analyzer": "french_search" + } + } + }, + "workflow": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "date": { + "type": "date" + }, + "status": { + "type": "string" + } + } + }, + "extfile": { + "type": "object", + "properties": { + "title": { + "type": "object", + "properties": { + "en": { + "type": "string" + }, + "fr": { + "type": "string", + "analyzer": "french", + "search_analyzer": "french_search" + } + } + }, + "description": { + "type": "object", + "properties": { + "en": { + "type": "string" + }, + "fr": { + "type": "string", + "analyzer": "french", + "search_analyzer": "french_search" + } + } + }, + "data": { + "type": "object", + "properties": { + "en": { + "type": "attachment" + }, + "fr": { + "type": "attachment" + } + } + } + } + }, + "gallery": { + "type": "object", + "properties": { + "title": { + "type": "object", + "properties": { + "en": { + "type": "string" + }, + "fr": { + "type": "string", + "analyzer": "french", + "search_analyzer": "french_search" + } + } + }, + "description": { + "type": "object", + "properties": { + "en": { + "type": "string" + }, + "fr": { + "type": "string", + "analyzer": "french", + "search_analyzer": "french_search" + } + } + } + } + }, + "location": { + "type": "object", + "properties": { + "coords": { + "type": "geo_point" + } + } + }, + "themes": { + "type": "object" + } + } + } +}