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
相關文章
相關標籤/搜索