diff --git a/controller/suggest_nearby.js b/controller/suggest_nearby.js index b0a30f70..6016cb7f 100644 --- a/controller/suggest_nearby.js +++ b/controller/suggest_nearby.js @@ -49,7 +49,7 @@ function setup( backend, query ){ return { _index: 'pelias', _type: idParts[0], - _id: idParts[1] + _id: idParts.slice(1).join(':') }; });