diff options
| author | julian laplace <julescarbon@gmail.com> | 2026-01-20 14:55:25 +0100 |
|---|---|---|
| committer | julian laplace <julescarbon@gmail.com> | 2026-01-20 14:55:25 +0100 |
| commit | 21bcda4f8961c34d7545911f1fe387bd9d3affc0 (patch) | |
| tree | 36027668739caf48f0db12c2e2e35d12c57087bc /bucky/search/lexicon.js | |
| parent | 4e34c00bed127699b39a45fd4402df8dad3c7223 (diff) | |
redo lexicon
Diffstat (limited to 'bucky/search/lexicon.js')
| -rw-r--r-- | bucky/search/lexicon.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bucky/search/lexicon.js b/bucky/search/lexicon.js index 0a027a2..97a5864 100644 --- a/bucky/search/lexicon.js +++ b/bucky/search/lexicon.js @@ -115,9 +115,10 @@ function parse_terms(opt) { res.thread = res.thread || thread; res.comment = res.comment || comment; res.file = res.file || file; + // prioritize threads if (!comment && !file) { - res.strength += 10; + res.strength += 100; } else { res.strength += 1; } |
