Exemplo de cliente do Elasticsearch Transport
settings.put("cluster.name", "elasticsearch").build()
client = new TransportClient(settings)
client = new TransportClient().addTransportAddress(new InetSocketTransportAddress(grailsApplication.config.elasticsearch.host, 9300))
Thakur Ad