You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by Apache Wiki <wi...@apache.org> on 2009/05/19 20:57:30 UTC

[Couchdb Wiki] Trivial Update of "HTTP view API" by HelderRibeiro

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 HelderRibeiro:
http://wiki.apache.org/couchdb/HTTP_view_API

The comment on the change is:
Adding anchor to "Creating Views" headline

------------------------------------------------------------------------------
  
  See ["Views"] for more information.
  
+ [[Anchor(creating_views)]]
  == Creating Views ==
  
  To create a permanent view, the functions must first be saved into special ''design documents'' (well, they are not really special, we just call them special but in reality, they are regular documents, just with a special ID). The IDs of design documents must begin with ''_design/'' and have a special views attribute that have a ''map'' member and an optional ''reduce'' member to hold the view functions. All the views in one design document are indexed whenever any of them gets queried.