docs/README.txt
changeset 113 0baf6315d838
parent 32 6bb958e6e26a
child 124 e7c1926fb3f8
equal deleted inserted replaced
112:88ef502db9b1 113:0baf6315d838
     8 curl --noproxy localhost -XPUT    http://localhost:9200/onf_website -d @index-settings.json
     8 curl --noproxy localhost -XPUT    http://localhost:9200/onf_website -d @index-settings.json
     9 
     9 
    10 curl --noproxy localhost -XPUT    http://localhost:9200/onf_website/WfNewsEvent/_mapping -d @mappings/WfNewsEvent.json
    10 curl --noproxy localhost -XPUT    http://localhost:9200/onf_website/WfNewsEvent/_mapping -d @mappings/WfNewsEvent.json
    11 curl --noproxy localhost -XPUT    http://localhost:9200/onf_website/WfTopic/_mapping -d @mappings/WfTopic.json
    11 curl --noproxy localhost -XPUT    http://localhost:9200/onf_website/WfTopic/_mapping -d @mappings/WfTopic.json
    12 curl --noproxy localhost -XPUT    http://localhost:9200/onf_website/WfBlogPost/_mapping -d @mappings/WfBlogPost.json
    12 curl --noproxy localhost -XPUT    http://localhost:9200/onf_website/WfBlogPost/_mapping -d @mappings/WfBlogPost.json
       
    13 
       
    14 
       
    15 PUT /onf_website/_mapping/PyAMS_document
       
    16 {
       
    17   "properties": {
       
    18     "header": {
       
    19       "type": "object",
       
    20       "properties": {
       
    21         "en": {
       
    22           "type": "text"
       
    23         },
       
    24         "fr": {
       
    25           "type": "text",
       
    26           "analyzer": "french",
       
    27           "search_analyzer": "french_search"
       
    28         }
       
    29       }
       
    30     }
       
    31   }
       
    32 }
       
    33 
       
    34 
       
    35 PUT /onf_website/_mapping/PyAMS_document
       
    36 {
       
    37   "properties": {
       
    38     "parent_ids": {
       
    39       "type": "keyword"
       
    40     }
       
    41   }
       
    42 }