es中springboot的兩種連接方式

使用客戶端調用es服務的兩種方式 有兩種方式,一種 是9200端口或叫rest 接口, 另一種是用 節點的9300端口或叫 TransportClient 說明 es的官網中https://www.elastic.co/guide/en/elasticsearch/client/java-api/current/java-api.html We plan on deprecating the Tr
相關文章
相關標籤/搜索