From 789dbb1e734885bd7cf5ad25f0d2f47765a13657 Mon Sep 17 00:00:00 2001 From: pep Date: Tue, 21 Jul 2020 20:48:09 +0000 Subject: attempt at merge --- bucky/search/search.js | 5 ----- 1 file changed, 5 deletions(-) (limited to 'bucky/search/search.js') diff --git a/bucky/search/search.js b/bucky/search/search.js index bde1ad9..9891963 100644 --- a/bucky/search/search.js +++ b/bucky/search/search.js @@ -42,13 +42,10 @@ function search (query, start, limit, cb) { var results = [] - console.log(terms) eachSeries( terms, function(term, callback){ - console.log(term); if (STOPWORDS.has(term)) return; - console.log("howdy") redisClient.get(term, function(err, results){ // if (!results) return callback(); @@ -73,13 +70,11 @@ function search (query, start, limit, cb) { if (i < start) return false if (to_display-- === 0) return true results.push(match) - // console.log(match) thread_ids.push(match.thread) if (match.comment) comment_ids.push(match.comment) if (match.file) file_ids.push(match.file) return false }) - //console.log(results) redisClient.quit() cb( { meta: { -- cgit v1.2.3-70-g09d2