各位大师好,es小白,请问一个关于es插入数据的问题,这个脚本是从参考书提供的网址下载的,参考书当时使用的版本和使用的版本有点差距,想问下下面插入的代码要怎么修改才能插进去,目前一直在报错。软件版本;7.13
运行环境;linux
代码块;
																				运行环境;linux
代码块;
curl -s -XPOST -H 'Content-Type: application/json' "$ADDRESS/get-together/event/100?parent=1" -d'{
  "host": ["Lee", "Troy"],
  "title": "Liberator and Immutant",
  "description": "We will discuss two different frameworks in Clojure for doing different things. Liberator is a ring-compatible web framework based on Erlang Webmachine. Immutant is an all-in-one enterprise application based on JBoss.",
  "attendees": ["Lee", "Troy", "Daniel", "Tom"],
  "date": "2013-09-05T18:00",
  "location_event": {
    "name": "Stoneys Full Steam Tavern",
    "geolocation": "39.752337,-105.00083"
  },
  "reviews": 4
}'
 
	
2 个回复
Charele - Cisco4321
赞同来自:
这作用是啥
FFFrp
赞同来自: