removed effective amount function score from query.

This commit is contained in:
Mark Beamer Jr 2018-07-04 00:00:18 -04:00
parent 49a7c42e73
commit d9a4af9636

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