Browse Source

using suggester-pipeline instead of pelias-model

using-pelias-ngram
Harish Krishna 10 years ago
parent
commit
b4f4daafcf
  1. 2
      package.json
  2. 2
      query/sort.js

2
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"

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

Loading…
Cancel
Save