code: function(query, callback) {
        return nano.request({ path: encodeURIComponent(db) + '/_find',
          method: 'post',
          body: query}, callback);
      }
docs: https://console.bluemix.net/docs/services/Cloudant/api/cloudant_query.html#finding-documents-by-using-an-index