ElasticSearch6.x 之 文檔

1、創建文檔(指定文檔ID) 創建文檔語法規則:http://elasticsearch 服務器訪問地址/索引名稱/文檔名稱/文檔主鍵編號,Put請求, 攜帶文檔屬性參數。 實列:http://192.168.1.74:9200/shopping/user/1/,選擇在elasticsearch 服務器中的shopping 索引創建文檔(user)並指定文檔(user)的主鍵1,攜帶文檔參數如下:
相關文章
相關標籤/搜索