org.elasticsearch.client.transport.NoNodeAvailableException: None of the configured nodes are available: [{#transport#-1}{Mln3wtAkTMCwR_z9QIv-tA}{20.0.0.11}{20.0.0.11:9300}]

org.elasticsearch.client.transport.NoNodeAvailableException: None of the configured nodes are available: [{#transport#-1}{Mln3wtAkTMCwR_z9QIv-tA}{20.0.0.11}{20.0.0.11:9300}]

网上说es内存不够用了,这个不对,es是有多少内存就用多少的

实际原因就是连接es的次数过多了,因此建议优化es的连接,最好是批量操作es。