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:
parent
00a41e9e19
commit
90e2d3f64b
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ function getResults (input) {
|
||||||
'match': {
|
'match': {
|
||||||
'name': {
|
'name': {
|
||||||
'query': '*' + input.s.trim() + '*',
|
'query': '*' + input.s.trim() + '*',
|
||||||
'boost': 100,
|
'boost': 5,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue