Added header to document index
authorThierry Florac <thierry.florac@onf.fr>
Mon, 26 Nov 2018 10:15:23 +0100
changeset 108 4c2168458680
parent 107 23673b0e0c5f
child 109 b9885a695f88
Added header to document index
src/pyams_content_es/document.py
--- a/src/pyams_content_es/document.py	Tue Nov 20 09:12:01 2018 +0100
+++ b/src/pyams_content_es/document.py	Mon Nov 26 10:15:23 2018 +0100
@@ -73,6 +73,7 @@
                                           ESField('content_type'),
                                           ESField('title', boost=3.0),
                                           ESField('short_name'),
+                                          ESField('header'),
                                           ESField('description'),
                                           ESField('keywords', boost=2.0)))
 
@@ -86,5 +87,6 @@
                                           ESField('data_type'),
                                           ESField('title', boost=3.0),
                                           ESField('short_name'),
+                                          ESField('header'),
                                           ESField('description'),
                                           ESField('keywords', boost=2.0)))