Julian Simioni

Results 80 issues of Julian Simioni

Hi! Pelias maintainer here. The Pelias geocoder class in geopy includes a `country_bias` parameter on the search function: https://github.com/geopy/geopy/blob/af0eedcfeb4e3eec88f19e2f822e7f14ac3468eb/geopy/geocoders/pelias.py#L112 However, Pelias only includes the [`boundary.country`](https://github.com/pelias/documentation/blob/master/search.md#search-within-a-particular-country) parameter, which is a _hard...

Some cities in the US have streetnames with leading zeros on numbered streets, for example `05th Avenue` instead of `5th Avenue`. It's [relatively simple](https://github.com/pelias/openaddresses/pull/26/files) to clean up these specific cases,...

A helpful but sometimes confusing part of the APIs behavior is that it queries Elasticsearch on startup to get the list of [custom sources and layers](https://github.com/pelias/api#custom-sources-and-layers). We had a report...

bug

An interesting report came in today, some short autocomplete queries return an unexpected 400 error with a leading slash (`/`). Some examples that are broken: [/v1/autocomplete?text=/cali](https://pelias.github.io/compare/#/v1/autocomplete?text=%2Fcali) [/v1/autocomplete?text=/colo](https://pelias.github.io/compare/#/v1/autocomplete?text=%2Fcolo) [/v1/autocomplete?text=/brook](https://pelias.github.io/compare/#/v1/autocomplete?text=%2Fbrook) Some examples...

bug

In past work (https://github.com/pelias/api/pull/1469 and https://github.com/pelias/api/pull/1468), we've discovered that searching across both the name and `address` fields can be problematic. Records that are a poor name match but also match...

This is a small but meaningful change I've been meaning to make to our autocomplete queries for a while. The primary `must` query in many of our autocomplete queries is...

For many years now, we have often seen queries where incorrect results that happened to match on a postalcode were boosted above the correct match. Considering that there is no...

All the way back in 2017 we [added](https://github.com/pelias/api/pull/928) support for setting a [default focus.point](https://github.com/pelias/pelias/issues/569) value. Since then it's been the only default value that Pelias allows to be set. What...

enhancement

The Pelias API root path has long included some simple static content from a [Markdown file](https://github.com/pelias/api/blob/master/public/apiDoc.md): ![Screenshot_2020-05-05_07-23-49](https://user-images.githubusercontent.com/111716/81077164-77434e80-8ea1-11ea-901e-e3f0088cee3f.png) While the link to the docs is nice, the version is not especially...

enhancement
question

There were multiple issues with the fallback query confidence score calculation middleware. 1. Incorrect detection of handled query types. Essentially, the logic was negated 2. Incorrect list of supported query...