Merge pull request #88 from lbryio/remove_effective_amount

removed effective amount function score from query.
This commit is contained in:
Mark 2018-07-04 00:00:50 -04:00 committed by GitHub
commit 7dcb8808a0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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