diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2017-12-11 01:06:34 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2017-12-11 01:06:34 +0100 |
| commit | 0120735ce102421a2d5178e4293f244c9225c114 (patch) | |
| tree | f6a58472ec0f46782492779ef1846e2edb939e37 /bucky/search/search.js | |
| parent | 6eff78042b152ef78538292d4263a2dbd89d78da (diff) | |
rearranging.
Diffstat (limited to 'bucky/search/search.js')
| -rw-r--r-- | bucky/search/search.js | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/bucky/search/search.js b/bucky/search/search.js index 6e1fd01..1236a4c 100644 --- a/bucky/search/search.js +++ b/bucky/search/search.js @@ -4,7 +4,6 @@ var STOPWORDS = require('./stopwords') var wordRegexp = new RegExp("[^a-z0-9]+", 'g'); function parse_terms (s) { -console.log(s, wordRegexp) return s.toLowerCase().split(wordRegexp).filter((term) => !!term) } function cmp (a,b){ return (a<b)?-1:(a===b)?0:1 } |
