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/03/31 13:19:57 UTC

[Couchdb Wiki] Update of "View server" by NilsBreunese

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 NilsBreunese:
http://wiki.apache.org/couchdb/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 ''javascript'', as are ad hoc queries that are ''POST''ed to ''_temp_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:
+ To register query servers with CouchDB, add a line for each server to ''local.ini''. The basic syntax is:
  
  {{{
  [query_servers]