elasticsearch transport client example
Example: elasticsearch transport client example
settings.put("cluster.name", "elasticsearch").build()
client = new TransportClient(settings)
client = new TransportClient().addTransportAddress(new InetSocketTransportAddress(grailsApplication.config.elasticsearch.host, 9300))