From b4f4daafcf1dfc3dfcf0a00a368cc150a66c8956 Mon Sep 17 00:00:00 2001 From: Harish Krishna Date: Mon, 9 Feb 2015 15:02:45 -0500 Subject: [PATCH] using suggester-pipeline instead of pelias-model --- package.json | 2 +- query/sort.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index f54aa0e8..cd0a3127 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,7 @@ "geojson": "^0.2.0", "geojson-extent": "^0.3.1", "geopipes-elasticsearch-backend": "git://github.com/geopipes/elasticsearch-backend#sort-scoring-function", - "pelias-model": "git://github.com/pelias/model#multiplier", + "pelias-suggester-pipeline": "git://github.com/pelias/suggester-pipeline#using-model-weights", "is-object": "^1.0.1", "pelias-esclient": "0.0.25", "toobusy": "^0.2.4" diff --git a/query/sort.js b/query/sort.js index 90eb265b..7da2db5f 100644 --- a/query/sort.js +++ b/query/sort.js @@ -1,5 +1,5 @@ var population = 'population'; -var weights = require('pelias-model').weights; +var weights = require('pelias-suggester-pipeline').weights; module.exports = [ {