removed effective amount function score from query. #88
1 changed files with 0 additions and 9 deletions
|
@ -50,15 +50,6 @@ function getResults (input) {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
|
||||||
'function_score': {
|
|
||||||
'script_score': {
|
|
||||||
'script': { // 100 LBC adds 1 point to the score
|
|
||||||
'source': "0.00000001 * doc['effective_amount'].value",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
],
|
],
|
||||||
'must': [
|
'must': [
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue