Navigation Menu

Skip to content

Commit

Permalink
Request 100 entries to the search backend
Browse files Browse the repository at this point in the history
  • Loading branch information
darashi committed Aug 9, 2012
1 parent 76bd224 commit 3d6878a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/server.js
Expand Up @@ -29,7 +29,7 @@ app.use(function(error, request, response, next){

// helpers
function search(query, callback) {
var url = 'http://' + searchNode + '/2011-02-01/search?q=' + encodeURIComponent(query);
var url = 'http://' + searchNode + '/2011-02-01/search?size=100&q=' + encodeURIComponent(query);
var buffer = '';
var request = http.get(url, function(response) {
if (response.statusCode !== 200) {
Expand Down

0 comments on commit 3d6878a

Please sign in to comment.