couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Couchdb Wiki] Update of "Views" by Sebastian Probst Eide
Date Mon, 28 Apr 2008 16:55:04 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification.

The following page has been changed by Sebastian Probst Eide:
http://wiki.apache.org/couchdb/Views

------------------------------------------------------------------------------
  
  For both kinds of views, the view is defined by a !JavaScript function that maps view keys
to values (although it is possible to use other languages than !JavaScript by plugging in
third-party view servers).
  
- Note that views are not created when a document is saved, but rather, when it is accessed.
As a result, the first access might take some time depending on the size of your data while
CouchDB creates the view.
+ Note that by default views are not created and updated when a document is saved, but rather,
when it is accessed. As a result, the first access might take some time depending on the size
of your data while CouchDB creates the view. If preferable the views can also be updated when
a document is saved using an external script that calls the views when updates have been made.
An example can be found here: RegeneratingViewsOnUpdate
  
  == Basics ==
  

Mime
View raw message