docs/README.txt
changeset 113 0baf6315d838
parent 32 6bb958e6e26a
child 124 e7c1926fb3f8
--- 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"
+    }
+  }
+}