Version 0.1.23 0.1.23
authorThierry Florac <thierry.florac@onf.fr>
Mon, 07 Jan 2019 11:50:47 +0100
changeset 135 474f0ca528c9
parent 134 fd71b6ea3863
child 136 68ae22131209
Version 0.1.23
buildout.cfg
docs/HISTORY.txt
docs/README.txt
docs/mappings/index-settings.json
setup.py
src/pyams_content_es.egg-info/PKG-INFO
--- a/buildout.cfg	Mon Jan 07 11:49:26 2019 +0100
+++ b/buildout.cfg	Mon Jan 07 11:50:47 2019 +0100
@@ -76,4 +76,4 @@
 eggs = pyams_content_es [test]
 
 [versions]
-pyams_content_es = 0.1.22
+pyams_content_es = 0.1.23
--- a/docs/HISTORY.txt	Mon Jan 07 11:49:26 2019 +0100
+++ b/docs/HISTORY.txt	Mon Jan 07 11:50:47 2019 +0100
@@ -1,6 +1,10 @@
 History
 =======
 
+0.1.23
+------
+ - updated resources index info
+
 0.1.22
 ------
  - added links index info
--- a/docs/README.txt	Mon Jan 07 11:49:26 2019 +0100
+++ b/docs/README.txt	Mon Jan 07 11:50:47 2019 +0100
@@ -12,7 +12,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": {
@@ -32,7 +32,7 @@
 }
 
 
-PUT /onf_website/_mapping/PyAMS_document
+PUT /onf_website/_mapping/_doc
 {
   "properties": {
     "parent_ids": {
@@ -42,7 +42,7 @@
 }
 
 
-PUT /onf_website/_mapping/PyAMS_document
+PUT /onf_website/_mapping/_doc
 {
   "properties": {
     "resource_info": {
@@ -93,6 +93,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": {
@@ -106,6 +119,19 @@
             }
           }
         },
+        "synopsis": {
+          "type": "object",
+          "properties": {
+            "en": {
+              "type": "text"
+            },
+            "fr": {
+              "type": "text",
+              "analyzer": "french",
+              "search_analyzer": "french_search"
+            }
+          }
+        },
         "publisher_words": {
           "type": "object",
           "properties": {
@@ -124,7 +150,7 @@
   }
 }
 
-PUT /onf_website/_mapping/PyAMS_document
+PUT /onf_website/_mapping/_doc
 {
   "properties": {
     "link": {
--- a/docs/mappings/index-settings.json	Mon Jan 07 11:49:26 2019 +0100
+++ b/docs/mappings/index-settings.json	Mon Jan 07 11:50:47 2019 +0100
@@ -74,7 +74,7 @@
 		}
 	},
 	"mappings": {
-		"PyAMS_document": {
+		"_doc": {
 			"properties": {
 				"internal_id": {
 					"type": "keyword"
@@ -413,6 +413,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": {
@@ -426,6 +439,19 @@
 								}
 							}
 						},
+						"synopsis": {
+							"type": "object",
+							"properties": {
+								"en": {
+									"type": "text"
+								},
+								"fr": {
+									"type": "text",
+									"analyzer": "french",
+									"search_analyzer": "french_search"
+								}
+							}
+						},
 						"publisher_words": {
 							"type": "object",
 							"properties": {
--- a/setup.py	Mon Jan 07 11:49:26 2019 +0100
+++ b/setup.py	Mon Jan 07 11:50:47 2019 +0100
@@ -22,7 +22,7 @@
 README = os.path.join(DOCS, 'README.txt')
 HISTORY = os.path.join(DOCS, 'HISTORY.txt')
 
-version = '0.1.22'
+version = '0.1.23'
 long_description = open(README).read() + '\n\n' + open(HISTORY).read()
 
 tests_require = []
--- 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