Andrew Stewart
Andrew Stewart

Reputation: 45

Setting up a view server on a remote CouchDB host

Background: I am writing an R view server for CouchDB.

To configure a CouchDB instance to use a view server, one can make an API call like so (as per earlier question):

curl -X PUT http://[localhost]/_config/query_servers/python '"/path/to/couchpy"'

In this case, the call to CouchDB on a local host is telling Couch the local path to the query server. However, is there any way to 'install' a query server on a remote CouchDB host through an API call to Couch?

Upvotes: 0

Views: 471

Answers (1)

Jan Lehnardt
Jan Lehnardt

Reputation: 2659

That is currently not possible.

You could run an external on a different host, hooking it up with a proxy handler, global handler or db handler (see https://github.com/rnewson/couchdb-lucene for how to set that up)

Upvotes: 1

Related Questions