Benoit Chesneau wrote:
>> I'm discovering CouchDB and CouchApp for the first time. I try to generate view, but my data are more than 1GB.
>> The problem is when i push a new modification of a view CouchDB recalculate all indexes. I now there are the option
>> Stale=ok or Stale=after_update. Do you how traduce the fact, that when I push a new view, I can force couchDB with that
>> option in the view ?
>
> Reindexation only happen when you access to the view with the new code. A push by itself don't trigger any action, so accessing to the view with the stale option will return the current indexed result.
Also, to avoid clients having to wait a long time for a response in a live environment check out
http://wiki.apache.org/couchdb/How_to_deploy_view_changes_in_a_live_environment
Nils.