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 = [ {