flimzy commented on a change in pull request #328: feat: update docs for new 
query server config
URL: 
https://github.com/apache/couchdb-documentation/pull/328#discussion_r235492387
 
 

 ##########
 File path: src/config/query-servers.rst
 ##########
 @@ -53,26 +53,28 @@ Query Servers Definition
       for the executable ``PATH``.
 
     The default query server is written in :ref:`JavaScript <query-server/js>`,
-    running via `Mozilla SpiderMonkey`_::
+    running via `Mozilla SpiderMonkey`_. It requires no special environment
+    settings to enable, but is the equivalent of these two variables::
 
-        [query_servers]
-        javascript = /usr/bin/couchjs /usr/share/couchdb/server/main.js
-        coffeescript = /usr/bin/couchjs 
/usr/share/couchdb/server/main-coffee.js
+        COUCHDB_QUERY_SERVER_JAVASCRIPT="/opt/couchdb/bin/couchjs 
/opt/couchdb/share/server/main.js"
+        COUCHDB_QUERY_SERVER_COFFEESCRIPT="/opt/couchdb/bin/couchjs 
/opt/couchdb/share/server/main-coffee.js"
 
     By default, ``couchjs`` limits the max runtime allocation to 64MiB.
     If you run into out of memory issue in your ddoc functions,
-    you can adjust the memory limitation::
+    you can adjust the memory limitation (here, increasing to 512 MiB)::
 
-        [query_servers]
-        javascript = /usr/bin/couchjs -S 536870912 
/usr/share/couchdb/server/main.js ; 512 MiB
+        COUCHDB_QUERY_SERVER_JAVASCRIPT="/usr/bin/couchjs -S 536870912 
/usr/share/server/main.js"
 
     For more info about the available options, please consult ``couchjs -h``.
 
     .. _Mozilla SpiderMonkey: 
https://developer.mozilla.org/en/docs/SpiderMonkey
 
     .. seealso::
-        :ref:`Native Erlang Query Server <config/native_query_servers>` that
-        allows to process Erlang `ddocs` and runs within CouchDB bypassing
+        The :ref:`Mango Query Server <api/db/_find>` is a declarative language
 
 Review comment:
   The language, not the data, requires no programming :) 
   
   ```suggestion
           The :ref:`Mango Query Server <api/db/_find>` is a declarative 
language that requires *no programming*, 
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to