I'm a bit new to ElasticSearch so a bit stuck on this problem:
We use a prepareIndex query to elasticSearch (v 0.18.4) using the Java API
client.prepareIndex(index,valueType, key) .setSource(json) .execute() .actionGet()
However, the update in elasticSearch takes a while (magnitude of hours) to
show up. Are there any settings in elastic search that we need to be aware
of which can help us amend this and get immediate updates?
We have 1 replica, 5 shards. It used to immediately update until recently
and we've tried flushing the index and that doesn't help either.