主要记录在windows下安装 crul 以及windows下使用的注意事项.1. curl 下载:http://www.paehl.com/open_source/?CURL_7.49.12. curl windows 下可视化工具下载http://www.paehl.com/open_source/?CURL_7.49.1___GUI_for_CURL_0.1如果是linux 下, 可以用类似的命令增加一条索引.程序代码curl -XPUT 'localhost:9200/mycompany/employee/1' -d '{"first_name":"John","last_name":"Smith","age":25,"about":"Ilovetogorockclimbing","interests":["sports","music"]}'windows下,要这样做,注意引号. 否则会报错:{"error":{"root_cause":[{"type":"mapper_parsing_exception","reason":"failed to parse"}],"type":"mapper_parsing_exception","reason":"failed to parse","caused_by":{"type":"not_x_content_exception
...
继续阅读
(49)