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.16.1 |
3 Version: 0.1.17 |
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 |
|
24 { |
|
25 "properties": { |
|
26 "header": { |
|
27 "type": "object", |
|
28 "properties": { |
|
29 "en": { |
|
30 "type": "text" |
|
31 }, |
|
32 "fr": { |
|
33 "type": "text", |
|
34 "analyzer": "french", |
|
35 "search_analyzer": "french_search" |
|
36 } |
|
37 } |
|
38 } |
|
39 } |
|
40 } |
|
41 |
|
42 |
|
43 PUT /onf_website/_mapping/PyAMS_document |
|
44 { |
|
45 "properties": { |
|
46 "parent_ids": { |
|
47 "type": "keyword" |
|
48 } |
|
49 } |
|
50 } |
|
51 |
|
52 |
23 History |
53 History |
24 ======= |
54 ======= |
|
55 |
|
56 0.1.17 |
|
57 ------ |
|
58 - added header to document index |
|
59 - added "parent_ids" index attribute and query params |
|
60 - use iterators to get query params |
25 |
61 |
26 0.1.16.1 |
62 0.1.16.1 |
27 -------- |
63 -------- |
28 - use commits (after 10 documents) instead of savepoints when re-indexing the whole site to avoid ES timeouts |
64 - use commits (after 10 documents) instead of savepoints when re-indexing the whole site to avoid ES timeouts |
29 |
65 |