Peter Johnson
Peter Johnson
The `middleware/changeLanguage.js` code is a little too liberal when replacing the `name.default` with a translation. Prior to this PR the code replaces `name.default` without first checking the `source` and `source_id`....
I was geocoding a spreadsheet today with lat/lon columns the wrong way around. Pelias assumes the parameters are correct and so 'wraps' the coordinates around the earth until they come...
When querying `/v1/search/structured?postalcode=xxx` only the `parent.postalcode` field is targeted. We should additionally check the `address_parts.zip` field. This is a particular problem for documents imported via the `csv-importer` as the field...
this PR resolves the bug described in https://github.com/pelias/api/issues/1544
for the autocomplete endpoint specifically, the presence of a trailing whitespace character in the input text has semantic value. it indicates a word-boundary and that the final word which has...
As discussed in https://github.com/pelias/model/issues/141 there is a possibility for HTML elements to be returned from the geoJSON API which could have a security impact for unaware clients. For example, someone...
DRAFT remove constant_score clause from autocomplete queries https://github.com/pelias/api/issues/1526
investigate removing the `constant_score` wrapper for autocomplete queries.
Using the 'boundary.country' filter on dependencies, such as `boundary.country=PRI` currently returns no results. eg. the record for San Juan, Puerto Rico has a `dependency` property but no `country` property, so...
the document `openstreetmap:venue:node/3691534194` has the following label: ``` "label": "Koh Lanta, Gothenburg, Sweden" ``` however, when searching for the same record using this label no results are returned: ``` /v1/autocomplete?text=Koh...