pelias / pelias/api

Support for searches in genitive/possessive form

Open
#817 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

In many countries, it is quite common to use a parent admin region or even the street name as a prefix for a venue name. Both data conventions and user conventions vary. Unfortunately, from user's point of view, it may be frustrating to find the form which matches the data:

  • Railway station, Helsinki
  • Helsinki's Railway station, Helsinki
  • Railway station of Helsinki, Helsinki

This is a real problem. For example, the search 'Porin kauppatori' does not hit the desired target 'Kauppatori, Pori' at all.

It would be great if Pelias could handle such issues automatically.

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

Reproduce the reported search with “Porin kauppatori” and compare it with “Kauppatori, Pori” in the Pelias API. Review the existing search behavior before deciding how possessive, parent-region, and “of” forms should be handled; done means these variants find the intended venue without breaking existing searches.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
search
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.