> On May 2, 2018, at 2:17 PM, Martin Rybak <[email protected]> wrote: > > In 2.0, can you tell me if indexes are updated when documents are queried > (lazily) or when they are updated (eagerly)?
It’s eager in 2.0. > The 1.x approach was to do it at query time which, unless you wanted stale > data, resulted in a poor user experience. Yes, but it was nice that you could have a lot of indexes and not pay the price for ones you weren’t using. In 2.0, be aware that creating a lot of indexes will slow down all document updates. (If you’re doing a big batch update, it can sometimes actually be cheaper to drop indexes and then recreate them afterwards.) —Jens Jens Alfke — Mobile Architect — Couchbase, Inc. -- You received this message because you are subscribed to the Google Groups "Couchbase Mobile" 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/mobile-couchbase/253AAF1D-A98A-48F4-934F-406542315580%40couchbase.com. For more options, visit https://groups.google.com/d/optout.
