标签: elasticsearch elasticsearch-5
TransportClient客户=新的PreBuiltTransportClient(Settings.EMPTY).addTransportAddress(新的TransportAddress(“ localhost”,9300));