elasticsearch:基礎練習

首先搭建好elasticsearch集羣,我這裏搭建3臺,僞分佈式。curl 新建一個名爲es1的索引庫:elasticsearch curl -XPUT http://192.168.1.28:9200/es1/分佈式 則出現如下:post lunce   5個主片:測試 其餘幾個是從片,主從絕對不會在一個節點上,好比1和1  2和2  主從都不在一個節點。 url   建「表」:spa #do
相關文章
相關標籤/搜索