docs/README.txt
changeset 132 92a69e693cca
parent 129 eb2875558811
child 135 474f0ca528c9
--- 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:
 ======================