How to config Single node for Single Cluster (Standalone Cluster) ElasticSearch

后端 未结 9 715
一向
一向 2021-01-30 17:13

I installed elastic search in my local machine, I want to configure it as the only one single node in the cluster(Standalone Server). it means whenever I create a new index, it

9条回答
  •  甜味超标
    2021-01-30 17:24

    I ve got the answer from http://elasticsearch-users.115913.n3.nabble.com/How-to-isolate-elastic-search-node-from-other-nodes-td3977389.html.

    Kimchy : You set the node to local(true), this means it will not discover other nodes using network, only within the same JVM.

    in elasticsearch/bin/elasticsearch.yml file

    node.local: true # disable network
    

提交回复
热议问题