pelias / pelias/api

No interpolated results returned when admin area not specified

Open
#897 3 comments 0 reactions 1 assignee View on GitHub

Nobody has claimed this yet.

on-deck
Dominant language
JavaScript
Stars
259
Forks
168
Avg merge
6h 15m
Merged PRs (30d)
1

Description

This issue was first mentioned in the interpolation acceptance tests (https://github.com/pelias/acceptance-tests/pull/376), and then this issue was created to track it.

Queries that only contain a housenumber and street could conceivably return a mix of exact and interpolated results, however the interpolation service would have to go through every street that matches, which may or may not be good.

This query, for example, doesn't return 257 west 26th st in manhattan

/v1/search?text=257 west 26th street
screenshot from 2017-06-02 16-28-17

Interpolated results are returned with an admin area:

/v1/search?text=257 west 26th street, new york
screenshot from 2017-06-02 16-29-24

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.