Skip to content

Commit 624a8d9

Browse files
committed
increase search limit to 200
1 parent e63432c commit 624a8d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

77-cloudant-cf.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ module.exports = function(RED) {
236236
});
237237
}
238238
else if (node.search === "_idx_") {
239-
var query = { q: msg.payload };
239+
var query = { q: msg.payload, limit: 200 };
240240
db.search(node.design, node.index, query, function(err, body) {
241241
sendDocumentOnPayload(err, body, msg);
242242
});

0 commit comments

Comments
 (0)