docs/mappings/mappings/WfTopic.json
changeset 32 6bb958e6e26a
parent 14 b20c1022db17
child 42 242331259942
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/mappings/mappings/WfTopic.json	Fri Dec 08 11:58:41 2017 +0100
@@ -0,0 +1,221 @@
+{
+	"WfTopic": {
+		"properties": {
+			"internal_id": {
+				"type": "keyword"
+			},
+			"content_type": {
+				"type": "keyword"
+			},
+			"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"
+					}
+				}
+			},
+			"keywords": {
+				"type": "keyword"
+			},
+			"workflow": {
+				"type": "object",
+				"properties": {
+					"name": {
+						"type": "keyword"
+					},
+					"date": {
+						"type": "date"
+					},
+					"status": {
+						"type": "keyword"
+					},
+					"created_date": {
+						"type": "date"
+					},
+					"modified_date": {
+						"type": "date"
+					},
+					"publication_date": {
+						"type": "date"
+					},
+					"effective_date": {
+						"type": "date"
+					},
+					"push_end_date": {
+						"type": "date"
+					},
+					"expiration_date": {
+						"type": "date"
+					},
+					"first_publication_date": {
+						"type": "date"
+					}
+				}
+			},
+			"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"
+							}
+						}
+					}
+				}
+			},
+			"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": {
+					"city": {
+						"type": "string"
+					},
+					"coords": {
+						"type": "geo_point"
+					},
+					"countries": {
+						"type": "keyword"
+					},
+					"departments": {
+						"type": "keyword"
+					},
+					"forests": {
+						"type": "keyword"
+					},
+					"postal_code": {
+						"type": "keyword"
+					},
+					"structures": {
+						"type": "keyword"
+					}
+				}
+			},
+			"hearing": {
+				"type": "object",
+				"properties": {
+					"targets": {
+						"type": "keyword"
+					},
+					"source_site": {
+						"type": "keyword"
+					},
+					"diffusion_sites": {
+						"type": "keyword"
+					}
+				}
+			},
+			"themes": {
+				"type": "object",
+				"properties": {
+					"terms": {
+						"type": "keyword"
+					},
+					"synonyms": {
+						"type": "keyword"
+					},
+					"parents": {
+						"type": "keyword"
+					},
+					"associations": {
+						"type": "keyword"
+					}
+				}
+			}
+		}
+	}
+}