src/pyams_content_es.egg-info/PKG-INFO
changeset 113 0baf6315d838
parent 106 99e6eb57ca19
child 118 17bc8afd7e4a
--- a/src/pyams_content_es.egg-info/PKG-INFO	Fri Nov 30 14:36:43 2018 +0100
+++ b/src/pyams_content_es.egg-info/PKG-INFO	Fri Nov 30 14:46:38 2018 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: pyams-content-es
-Version: 0.1.16.1
+Version: 0.1.17
 Summary: PyAMS content interfaces and classes for ElasticSearch indexation
 Home-page: http://hg.ztfy.org/pyams/pyams_content_es
 Author: Thierry Florac
@@ -20,9 +20,45 @@
         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"
+            }
+          }
+        }
+        
+        
         History
         =======
         
+        0.1.17
+        ------
+         - added header to document index
+         - added "parent_ids" index attribute and query params
+         - use iterators to get query params
+        
         0.1.16.1
         --------
          - use commits (after 10 documents) instead of savepoints when re-indexing the whole site to avoid ES timeouts