We're considering Elasticsearch for our data search solution and are wondering about the latency between the request to index a document and when the document becomes searchable. How long after a request to index a document is received will that document be surfaced via the search APIs?
I recognize that this is a relatively vague question and depends on a variety of factors but I'm looking to get an idea at least of the order of magnitude. Are we talking seconds or minutes? We would be expecting to generate a few dozen indexing requests per second at peak and would like to see the documents searchable as quickly as possible.
Also is the indexing request a blocking call? Does Elasticsearch return "SUCCESS" once the request is received or does it wait until the document has been indexed successfully?