# HG changeset patch # User Thierry Florac # Date 1546618565 -3600 # Node ID 92a69e693cca47fe534f08a3ccc01259ac89321e # Parent 40f5193162eef2786d101d3cf31a2e096bded4b6 Version 0.1.22 diff -r 40f5193162ee -r 92a69e693cca buildout.cfg --- 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 diff -r 40f5193162ee -r 92a69e693cca docs/HISTORY.txt --- 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 diff -r 40f5193162ee -r 92a69e693cca docs/README.txt --- 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: ====================== diff -r 40f5193162ee -r 92a69e693cca docs/mappings/index-settings.json --- 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": { diff -r 40f5193162ee -r 92a69e693cca setup.py --- 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 = [] diff -r 40f5193162ee -r 92a69e693cca src/pyams_content_es.egg-info/PKG-INFO --- 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 diff -r 40f5193162ee -r 92a69e693cca src/pyams_content_es.egg-info/SOURCES.txt --- 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