API using node.js CouchDB and Solr