docs/README.txt
changeset 132 92a69e693cca
parent 129 eb2875558811
child 135 474f0ca528c9
equal deleted inserted replaced
131:40f5193162ee 132:92a69e693cca
   122       }
   122       }
   123     }
   123     }
   124   }
   124   }
   125 }
   125 }
   126 
   126 
       
   127 PUT /onf_website/_mapping/PyAMS_document
       
   128 {
       
   129   "properties": {
       
   130     "link": {
       
   131         "type": "object",
       
   132         "properties": {
       
   133             "title": {
       
   134                 "type": "object",
       
   135                 "properties": {
       
   136                     "en": {
       
   137                         "type": "text"
       
   138                     },
       
   139                     "fr": {
       
   140                         "type": "text",
       
   141                         "analyzer": "french",
       
   142                         "search_analyzer": "french_search"
       
   143                     }
       
   144                 }
       
   145             },
       
   146             "description": {
       
   147                 "type": "object",
       
   148                 "properties": {
       
   149                     "en": {
       
   150                         "type": "text"
       
   151                     },
       
   152                     "fr": {
       
   153                         "type": "text",
       
   154                         "analyzer": "french",
       
   155                         "search_analyzer": "french_search"
       
   156                     }
       
   157                 }
       
   158             }
       
   159         }
       
   160     }
       
   161   }
       
   162 }
       
   163 
   127 
   164 
   128 Update index mappings:
   165 Update index mappings:
   129 ======================
   166 ======================
   130 
   167 
   131 PUT /onf_website_v2
   168 PUT /onf_website_v2