From 90e2d3f64b45d0e0ddcf51afccc03fc03a1a1a50 Mon Sep 17 00:00:00 2001 From: Mark Beamer Jr Date: Tue, 13 Mar 2018 21:43:08 -0400 Subject: [PATCH] changed weight to 5 from 100. I made the weight 5 based on tests around "super" which is a query that returns 1800 hits. The intention is to make sure that channels show up first in the results. --- server/controllers/lighthouse.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/controllers/lighthouse.js b/server/controllers/lighthouse.js index c1ac149..d31a32d 100644 --- a/server/controllers/lighthouse.js +++ b/server/controllers/lighthouse.js @@ -32,7 +32,7 @@ function getResults (input) { 'match': { 'name': { 'query': '*' + input.s.trim() + '*', - 'boost': 100, + 'boost': 5, }, }, },