src/pyams_content_es.egg-info/PKG-INFO
changeset 135 474f0ca528c9
parent 132 92a69e693cca
child 141 9f7ad3fcb3b9
--- a/src/pyams_content_es.egg-info/PKG-INFO	Mon Jan 07 11:49:26 2019 +0100
+++ b/src/pyams_content_es.egg-info/PKG-INFO	Mon Jan 07 11:50:47 2019 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: pyams-content-es
-Version: 0.1.22
+Version: 0.1.23
 Summary: PyAMS content interfaces and classes for ElasticSearch indexation
 Home-page: http://hg.ztfy.org/pyams/pyams_content_es
 Author: Thierry Florac
@@ -20,7 +20,7 @@
         curl --noproxy localhost -XPUT    http://localhost:9200/onf_website/WfBlogPost/_mapping -d @mappings/WfBlogPost.json
         
         
-        PUT /onf_website/_mapping/PyAMS_document
+        PUT /onf_website/_mapping/_doc
         {
           "properties": {
             "header": {
@@ -40,7 +40,7 @@
         }
         
         
-        PUT /onf_website/_mapping/PyAMS_document
+        PUT /onf_website/_mapping/_doc
         {
           "properties": {
             "parent_ids": {
@@ -50,7 +50,7 @@
         }
         
         
-        PUT /onf_website/_mapping/PyAMS_document
+        PUT /onf_website/_mapping/_doc
         {
           "properties": {
             "resource_info": {
@@ -101,6 +101,19 @@
                 "isbn_number": {
                   "type": "keyword"
                 },
+                "awards": {
+                  "type": "object",
+                  "properties": {
+                    "en": {
+                      "type": "text"
+                    },
+                    "fr": {
+                      "type": "text",
+                      "analyzer": "french",
+                      "search_analyzer": "french_search"
+                    }
+                  }
+                },
                 "summary": {
                   "type": "object",
                   "properties": {
@@ -114,6 +127,19 @@
                     }
                   }
                 },
+                "synopsis": {
+                  "type": "object",
+                  "properties": {
+                    "en": {
+                      "type": "text"
+                    },
+                    "fr": {
+                      "type": "text",
+                      "analyzer": "french",
+                      "search_analyzer": "french_search"
+                    }
+                  }
+                },
                 "publisher_words": {
                   "type": "object",
                   "properties": {
@@ -132,7 +158,7 @@
           }
         }
         
-        PUT /onf_website/_mapping/PyAMS_document
+        PUT /onf_website/_mapping/_doc
         {
           "properties": {
             "link": {
@@ -205,6 +231,10 @@
         History
         =======
         
+        0.1.23
+        ------
+         - updated resources index info
+        
         0.1.22
         ------
          - added links index info