On Thu, May 22, 2014 at 3:54 PM, Matthias Feist <[email protected]> wrote:

> What do you think: Is it wise to implement such a system in elasticsearch?
> I'm mostly worried about the time between the "add to cart" (inserting a
> document) and being able to access the total value due to the flushing
> delay.
>
>
For your information, this flushing delay only exists for search
operations. We call it a near realtime operation because of this delay that
you need to wait after having indexed a document and before being able to
search for it (1 second by default).

However Elasticsearch doesn't only have a search API, it also has a GET API
that is realtime[1] and basically allows you to use Elasticsearch as a
key-value store.

[1]
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/docs-get.html#realtime

-- 
Adrien Grand

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/CAL6Z4j49hmhz7Av15FM13Nnpizh6GZEwn3dWmE_d2nZNCSXvow%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to