curl -X POST -d @mapping.json + mapping not created

后端 未结 3 1188
滥情空心
滥情空心 2021-02-20 15:43

I am learning elasticsearch. I have specified the mapping in \'mapping.json\'. Its contents are

{
    \"book\" : {
         \"_index\" : {
             \"enabled         


        
3条回答
  •  孤街浪徒
    2021-02-20 16:14

    Please try this,

    curl -XPUT 'http://localhost:9200//book/_mapping' -d @mapping.json
    

提交回复
热议问题