We are using ElasticSearch as a datastore in place of a database. Kimchy
will be quick to add that this is not advisable at the moment due to its
beta status. (We also dupe data to MySQL for the present time.)
For most of our use cases, we do fine with ES NRT, but there are a few spots
when we have to issue a refresh before continuing. I was wondering if it
would be possible to add a parameter (similar to op_type) that can be passed
along with a POST or PUT to indicate that the call should not reply until
the document is indexed.
We have a multi-tier system, and this would help us by not requiring two
REST calls from the middle tier to our web services tier where ES lives.