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 "View server" by ChrisAnderson
Date Sun, 04 Jan 2009 01:10:32 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 ChrisAnderson:
http://wiki.apache.org/couchdb/View_server

The comment on the change is:
change temp_view to slow_view

------------------------------------------------------------------------------
  
  == The View Server ==
  
- CouchDB delegates computation of ["Views"] to external query servers. It communicates with
them over standard input/output, using a very simple, line-based protocol. The default query
server is written in Javascript, running via Mozilla !SpiderMonkey. You can use other languages
by setting a MIME type in the ''language'' property of a design document or the Content-Type
header of a temporary view. Design documents that do not specify a ''language'' property are
assumed to be of type ''text/javascript'', as are ad hoc queries that are ''POST''ed to ''_temp_view''
without a ''Content-Type'' header.
+ CouchDB delegates computation of ["Views"] to external query servers. It communicates with
them over standard input/output, using a very simple, line-based protocol. The default query
server is written in Javascript, running via Mozilla !SpiderMonkey. You can use other languages
by setting a MIME type in the ''language'' property of a design document or the Content-Type
header of a temporary view. Design documents that do not specify a ''language'' property are
assumed to be of type ''text/javascript'', as are ad hoc queries that are ''POST''ed to ''_slow_view''
without a ''Content-Type'' header.
  
  To register query servers with CouchDB, add a line for each server to ''couch.ini''. The
basic syntax is:
  

Mime
View raw message