src/pyams_content_es.egg-info/PKG-INFO
changeset 124 e7c1926fb3f8
parent 118 17bc8afd7e4a
child 127 e5cc001c6476
equal deleted inserted replaced
123:baa26ee96741 124:e7c1926fb3f8
     1 Metadata-Version: 2.1
     1 Metadata-Version: 2.1
     2 Name: pyams-content-es
     2 Name: pyams-content-es
     3 Version: 0.1.18
     3 Version: 0.1.19
     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
    48             }
    48             }
    49           }
    49           }
    50         }
    50         }
    51         
    51         
    52         
    52         
       
    53         PUT /onf_website/_mapping/PyAMS_document
       
    54         {
       
    55           "properties": {
       
    56             "resource_info": {
       
    57               "type": "object",
       
    58               "properties": {
       
    59                 "author": {
       
    60                   "type": "text"
       
    61                 },
       
    62                 "drawer": {
       
    63                   "type": "text"
       
    64                 },
       
    65                 "colourist": {
       
    66                   "type": "text"
       
    67                 },
       
    68                 "lettering": {
       
    69                   "type": "text"
       
    70                 },
       
    71                 "producer": {
       
    72                   "type": "text"
       
    73                 },
       
    74                 "director": {
       
    75                   "type": "text"
       
    76                 },
       
    77                 "actors": {
       
    78                   "type": "text"
       
    79                 },
       
    80                 "editor": {
       
    81                   "type": "text"
       
    82                 },
       
    83                 "collection": {
       
    84                   "type": "keyword"
       
    85                 },
       
    86                 "series": {
       
    87                   "type": "text"
       
    88                 },
       
    89                 "editor_reference": {
       
    90                   "type": "keyword"
       
    91                 },
       
    92                 "isbn_number": {
       
    93                   "type": "keyword"
       
    94                 },
       
    95                 "summary": {
       
    96                   "type": "object",
       
    97                   "properties": {
       
    98                     "en": {
       
    99                       "type": "text"
       
   100                     },
       
   101                     "fr": {
       
   102                       "type": "text",
       
   103                       "analyzer": "french",
       
   104                       "search_analyzer": "french_search"
       
   105                     }
       
   106                   }
       
   107                 },
       
   108                 "publisher_words": {
       
   109                   "type": "object",
       
   110                   "properties": {
       
   111                     "en": {
       
   112                       "type": "text"
       
   113                     },
       
   114                     "fr": {
       
   115                       "type": "text",
       
   116                       "analyzer": "french",
       
   117                       "search_analyzer": "french_search"
       
   118                     }
       
   119                   }
       
   120                 }
       
   121               }
       
   122             }
       
   123           }
       
   124         }
       
   125         
       
   126         
       
   127         Update index mappings:
       
   128         ======================
       
   129         
       
   130         PUT /onf_website_v2
       
   131         {... index_settings ...}
       
   132         
       
   133         POST /_reindex
       
   134         {
       
   135             "source": {
       
   136                 "index": "onf_website-v1",
       
   137                 "size": 10
       
   138             },
       
   139             "dest": {
       
   140                 "index": "onf_website-v2",
       
   141                 "pipeline": "attachment"
       
   142             }
       
   143         }
       
   144         
       
   145         DELETE /onf_website
       
   146         
       
   147         PUT /_aliases
       
   148         {
       
   149             "actions": {
       
   150                 "add": {
       
   151                     "index": "onf_website-v2",
       
   152                     "alias": "onf_website"
       
   153                 }
       
   154             }
       
   155         }
       
   156         
       
   157         
       
   158         
    53         History
   159         History
    54         =======
   160         =======
       
   161         
       
   162         0.1.19
       
   163         ------
       
   164          - added resource index info
       
   165          - updated object modified event subscriber to allow indexation of several objects in the same transaction
       
   166          - updated index mapping
    55         
   167         
    56         0.1.18
   168         0.1.18
    57         ------
   169         ------
    58          - corrected relevance sorting
   170          - corrected relevance sorting
    59          - updated views interfaces to add optional "request" argument to params and results getters methods
   171          - updated views interfaces to add optional "request" argument to params and results getters methods