equal
deleted
inserted
replaced
1 Metadata-Version: 2.1 |
1 Metadata-Version: 2.1 |
2 Name: pyams-content-es |
2 Name: pyams-content-es |
3 Version: 0.1.22 |
3 Version: 0.1.23 |
4 Summary: PyAMS content interfaces and classes for ElasticSearch indexation |
4 Summary: PyAMS content interfaces and classes for ElasticSearch indexation |
5 Home-page: http://hg.ztfy.org/pyams/pyams_content_es |
5 Home-page: http://hg.ztfy.org/pyams/pyams_content_es |
6 Author: Thierry Florac |
6 Author: Thierry Florac |
7 Author-email: tflorac@ulthar.net |
7 Author-email: tflorac@ulthar.net |
8 License: ZPL |
8 License: ZPL |
18 curl --noproxy localhost -XPUT http://localhost:9200/onf_website/WfNewsEvent/_mapping -d @mappings/WfNewsEvent.json |
18 curl --noproxy localhost -XPUT http://localhost:9200/onf_website/WfNewsEvent/_mapping -d @mappings/WfNewsEvent.json |
19 curl --noproxy localhost -XPUT http://localhost:9200/onf_website/WfTopic/_mapping -d @mappings/WfTopic.json |
19 curl --noproxy localhost -XPUT http://localhost:9200/onf_website/WfTopic/_mapping -d @mappings/WfTopic.json |
20 curl --noproxy localhost -XPUT http://localhost:9200/onf_website/WfBlogPost/_mapping -d @mappings/WfBlogPost.json |
20 curl --noproxy localhost -XPUT http://localhost:9200/onf_website/WfBlogPost/_mapping -d @mappings/WfBlogPost.json |
21 |
21 |
22 |
22 |
23 PUT /onf_website/_mapping/PyAMS_document |
23 PUT /onf_website/_mapping/_doc |
24 { |
24 { |
25 "properties": { |
25 "properties": { |
26 "header": { |
26 "header": { |
27 "type": "object", |
27 "type": "object", |
28 "properties": { |
28 "properties": { |
38 } |
38 } |
39 } |
39 } |
40 } |
40 } |
41 |
41 |
42 |
42 |
43 PUT /onf_website/_mapping/PyAMS_document |
43 PUT /onf_website/_mapping/_doc |
44 { |
44 { |
45 "properties": { |
45 "properties": { |
46 "parent_ids": { |
46 "parent_ids": { |
47 "type": "keyword" |
47 "type": "keyword" |
48 } |
48 } |
49 } |
49 } |
50 } |
50 } |
51 |
51 |
52 |
52 |
53 PUT /onf_website/_mapping/PyAMS_document |
53 PUT /onf_website/_mapping/_doc |
54 { |
54 { |
55 "properties": { |
55 "properties": { |
56 "resource_info": { |
56 "resource_info": { |
57 "type": "object", |
57 "type": "object", |
58 "properties": { |
58 "properties": { |
99 "type": "keyword" |
99 "type": "keyword" |
100 }, |
100 }, |
101 "isbn_number": { |
101 "isbn_number": { |
102 "type": "keyword" |
102 "type": "keyword" |
103 }, |
103 }, |
|
104 "awards": { |
|
105 "type": "object", |
|
106 "properties": { |
|
107 "en": { |
|
108 "type": "text" |
|
109 }, |
|
110 "fr": { |
|
111 "type": "text", |
|
112 "analyzer": "french", |
|
113 "search_analyzer": "french_search" |
|
114 } |
|
115 } |
|
116 }, |
104 "summary": { |
117 "summary": { |
105 "type": "object", |
118 "type": "object", |
106 "properties": { |
119 "properties": { |
107 "en": { |
120 "en": { |
108 "type": "text" |
121 "type": "text" |
112 "analyzer": "french", |
125 "analyzer": "french", |
113 "search_analyzer": "french_search" |
126 "search_analyzer": "french_search" |
114 } |
127 } |
115 } |
128 } |
116 }, |
129 }, |
|
130 "synopsis": { |
|
131 "type": "object", |
|
132 "properties": { |
|
133 "en": { |
|
134 "type": "text" |
|
135 }, |
|
136 "fr": { |
|
137 "type": "text", |
|
138 "analyzer": "french", |
|
139 "search_analyzer": "french_search" |
|
140 } |
|
141 } |
|
142 }, |
117 "publisher_words": { |
143 "publisher_words": { |
118 "type": "object", |
144 "type": "object", |
119 "properties": { |
145 "properties": { |
120 "en": { |
146 "en": { |
121 "type": "text" |
147 "type": "text" |
130 } |
156 } |
131 } |
157 } |
132 } |
158 } |
133 } |
159 } |
134 |
160 |
135 PUT /onf_website/_mapping/PyAMS_document |
161 PUT /onf_website/_mapping/_doc |
136 { |
162 { |
137 "properties": { |
163 "properties": { |
138 "link": { |
164 "link": { |
139 "type": "object", |
165 "type": "object", |
140 "properties": { |
166 "properties": { |
203 |
229 |
204 |
230 |
205 History |
231 History |
206 ======= |
232 ======= |
207 |
233 |
|
234 0.1.23 |
|
235 ------ |
|
236 - updated resources index info |
|
237 |
208 0.1.22 |
238 0.1.22 |
209 ------ |
239 ------ |
210 - added links index info |
240 - added links index info |
211 |
241 |
212 0.1.21 |
242 0.1.21 |