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.

This commit is contained in:
Mark Beamer Jr 2018-03-13 21:43:08 -04:00
parent 00a41e9e19
commit 90e2d3f64b

View file

@ -32,7 +32,7 @@ function getResults (input) {
'match': {
'name': {
'query': '*' + input.s.trim() + '*',
'boost': 100,
'boost': 5,
},
},
},