ElasticSearch6.x 之路由規則

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