From d9a4af963662710c8600f4ad6cbb7b2882157377 Mon Sep 17 00:00:00 2001 From: Mark Beamer Jr Date: Wed, 4 Jul 2018 00:00:18 -0400 Subject: [PATCH] removed effective amount function score from query. --- server/controllers/lighthouse.js | 9 --------- 1 file changed, 9 deletions(-) diff --git a/server/controllers/lighthouse.js b/server/controllers/lighthouse.js index a710a64..c28faf5 100644 --- a/server/controllers/lighthouse.js +++ b/server/controllers/lighthouse.js @@ -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': [ { -- 2.45.3