pelias / pelias/api

Contracted separable street names working for autocomplete but not search

Open
#1,558 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

The address Grolmanstraße 1, 10623, Berlin, Germany fails for /v1/search when searching:
Grolmanstr. 1, 10623, Berlin, Germany.

This is an example of a wider bug which effects contracted separable street names.
note: this is not the case for /v1/autocomplete

Examples of different forms which should work for both endpoints:

  • Grolmanstraße 1, 10623, Berlin, Germany
  • Grolmanstrasse 1, 10623, Berlin, Germany
  • Grolmanstr. 1, 10623, Berlin, Germany
  • Grolmanstr 1, 10623, Berlin, Germany
  • Grolman Straße 1, 10623, Berlin, Germany
  • Grolman Strasse 1, 10623, Berlin, Germany
  • Grolman Str. 1, 10623, Berlin, Germany
  • Grolman Str 1, 10623, Berlin, Germany

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.

Research direction

Start with the /v1/search request and compare its behavior with /v1/autocomplete using the linked Berlin examples. Trace how contracted separable street names are handled, then add coverage for the listed forms on both endpoints; the work is done when each form returns the expected address.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
api, search
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.