Sort of: 

TransportClient transportClient = *new* TransportClient(settings); // just 
an example of transport client instantiation, you can use your own

transportClient.getClient().admin().indices().refresh(*Requests*
.refreshRequest(indexName)).actionGet(); // actionGet() as you may know it 
to make the call synchronous and wait for it until done (otherwise it is 
async)

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elasticsearch+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/348578e9-4fd1-4209-8995-1637c963fe70%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to