# HG changeset patch # User Thierry Florac # Date 1546858247 -3600 # Node ID 474f0ca528c931c266da6e01c19313c5726f2521 # Parent fd71b6ea38632ac16309300f720abf441e61efdf Version 0.1.23 diff -r fd71b6ea3863 -r 474f0ca528c9 buildout.cfg --- 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 diff -r fd71b6ea3863 -r 474f0ca528c9 docs/HISTORY.txt --- 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 diff -r fd71b6ea3863 -r 474f0ca528c9 docs/README.txt --- 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": { diff -r fd71b6ea3863 -r 474f0ca528c9 docs/mappings/index-settings.json --- 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": { diff -r fd71b6ea3863 -r 474f0ca528c9 setup.py --- 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 = [] diff -r fd71b6ea3863 -r 474f0ca528c9 src/pyams_content_es.egg-info/PKG-INFO --- 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