After a document is added. My understanding is that the insertion to the main document pool happens at the start, with views being triggered to update after the document exists in that index.
Someone with more experience may correct me - but I'm fairly certain this is why views can be stale ( http://docs.couchdb.org/en/2.0.0/api/ddoc/views.html ) On 2016-11-29 4:47 PM, Alan Kash wrote: > Hello, > > CouchDB starter here. > > How are the MapReduce views updated ? Before or after a new document is > added into store ? > > Do all document insertions go through some view process pipeline, then > finally to base document pool ? I am thinking in document stream > processing terms, where document ingress hits the *views processes* first > before finally ending up in the pool. > > Thanks >
signature.asc
Description: OpenPGP digital signature
