removed effective amount function score from query. #88

Merged
tiger5226 merged 1 commit from remove_effective_amount into master 2018-07-04 06:00:51 +02:00

View file

@ -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': [
{