docs/mappings/index-settings.json
changeset 113 0baf6315d838
parent 103 c1329f9be074
child 123 baa26ee96741
--- a/docs/mappings/index-settings.json	Fri Nov 30 14:36:43 2018 +0100
+++ b/docs/mappings/index-settings.json	Fri Nov 30 14:46:38 2018 +0100
@@ -74,7 +74,7 @@
 		}
 	},
 	"mappings": {
-		"_default_": {
+		"PyAMS_document": {
 			"properties": {
 				"internal_id": {
 					"type": "keyword"
@@ -82,6 +82,9 @@
 				"reference_id": {
 					"type": "keyword"
 				},
+				"parent_ids": {
+					"type": "keyword"
+				},
 				"content_type": {
 					"type": "keyword"
 				},
@@ -111,6 +114,19 @@
 						}
 					}
 				},
+				"header": {
+					"type": "object",
+					"properties": {
+						"en": {
+							"type": "text"
+						},
+						"fr": {
+							"type": "text",
+							"analyzer": "french",
+							"search_analyzer": "french_search"
+						}
+					}
+				},
 				"description": {
 					"type": "object",
 					"properties": {