From 4e9b5502a298f408358608766265b363afb2e750 Mon Sep 17 00:00:00 2001 From: Harish Krishna Date: Tue, 24 Feb 2015 17:20:21 -0500 Subject: [PATCH] using population var --- query/sort.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/query/sort.js b/query/sort.js index 8ddbdfc0..7102651f 100644 --- a/query/sort.js +++ b/query/sort.js @@ -4,7 +4,7 @@ var weights = require('pelias-suggester-pipeline').weights; module.exports = [ { '_script': { - 'file': 'population', + 'file': population, 'type': 'number', 'order': 'desc' }