Version 0.1.22 0.1.22
authorThierry Florac <tflorac@ulthar.net>
Fri, 04 Jan 2019 17:16:05 +0100
changeset 132 92a69e693cca
parent 131 40f5193162ee
child 133 12fb38e7c191
Version 0.1.22
buildout.cfg
docs/HISTORY.txt
docs/README.txt
docs/mappings/index-settings.json
setup.py
src/pyams_content_es.egg-info/PKG-INFO
src/pyams_content_es.egg-info/SOURCES.txt
--- a/buildout.cfg	Fri Jan 04 12:21:56 2019 +0100
+++ b/buildout.cfg	Fri Jan 04 17:16:05 2019 +0100
@@ -76,4 +76,4 @@
 eggs = pyams_content_es [test]
 
 [versions]
-pyams_content_es = 0.1.21
+pyams_content_es = 0.1.22
--- a/docs/HISTORY.txt	Fri Jan 04 12:21:56 2019 +0100
+++ b/docs/HISTORY.txt	Fri Jan 04 17:16:05 2019 +0100
@@ -1,6 +1,10 @@
 History
 =======
 
+0.1.22
+------
+ - added links index info
+
 0.1.21
 ------
  - updated views sort order so that imposed references are always in first positions
--- 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:
 ======================
--- a/docs/mappings/index-settings.json	Fri Jan 04 12:21:56 2019 +0100
+++ b/docs/mappings/index-settings.json	Fri Jan 04 17:16:05 2019 +0100
@@ -225,6 +225,37 @@
 						}
 					}
 				},
+				"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"
+								}
+							}
+						}
+					}
+				},
 				"gallery": {
 					"type": "object",
 					"properties": {
--- a/setup.py	Fri Jan 04 12:21:56 2019 +0100
+++ b/setup.py	Fri Jan 04 17:16:05 2019 +0100
@@ -22,7 +22,7 @@
 README = os.path.join(DOCS, 'README.txt')
 HISTORY = os.path.join(DOCS, 'HISTORY.txt')
 
-version = '0.1.21'
+version = '0.1.22'
 long_description = open(README).read() + '\n\n' + open(HISTORY).read()
 
 tests_require = []
--- a/src/pyams_content_es.egg-info/PKG-INFO	Fri Jan 04 12:21:56 2019 +0100
+++ b/src/pyams_content_es.egg-info/PKG-INFO	Fri Jan 04 17:16:05 2019 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: pyams-content-es
-Version: 0.1.21
+Version: 0.1.22
 Summary: PyAMS content interfaces and classes for ElasticSearch indexation
 Home-page: http://hg.ztfy.org/pyams/pyams_content_es
 Author: Thierry Florac
@@ -132,6 +132,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:
         ======================
@@ -168,6 +205,10 @@
         History
         =======
         
+        0.1.22
+        ------
+         - added links index info
+        
         0.1.21
         ------
          - updated views sort order so that imposed references are always in first positions
--- a/src/pyams_content_es.egg-info/SOURCES.txt	Fri Jan 04 12:21:56 2019 +0100
+++ b/src/pyams_content_es.egg-info/SOURCES.txt	Fri Jan 04 17:16:05 2019 +0100
@@ -22,6 +22,7 @@
 src/pyams_content_es/component/__init__.py
 src/pyams_content_es/component/extfile.py
 src/pyams_content_es/component/gallery.py
+src/pyams_content_es/component/link.py
 src/pyams_content_es/component/paragraph.py
 src/pyams_content_es/component/theme.py
 src/pyams_content_es/component/workflow.py