I am trying to query ES every minute for count. I have the following
code. I am having tough time adding the time filter. Looks like lot has
changed since 1.1.0 java elasticsearch api. Can you point me to the right
Settings settings = ImmutableSettings.settingsBuilder().put("cluster.name",
Client esClient = new TransportClient(settings).addTransportAddress(new
CountResponse cr = esClient.prepareCount("test").setIndices("myindex").
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 firstname.lastname@example.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/281b53a3-da04-48a2-a90a-05198931df73%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.