elasticsearch Curl 基本操做

建立文档: curl -X PUT “localhost:9200/website/blog/2” -H ‘Content-Type: application/json’ -d’ { “title”: “My first blog entry”, “text”: “Just trying this out…”, “date”: “2014/01/01” } ’ 取回文档: curl -X GET
相关文章
相关标签/搜索