Skip to content

Station abbreviations not searchable (e.g., "Berlin Hbf" doesn't find "Berlin Hauptbahnhof" #996

@simfr24

Description

@simfr24

Problem:
Photon doesn't find train stations when searching by their common abbreviations, even when those abbreviations exist in OSM's short_name field.

Example:

  • OSM node: Berlin Hbf
  • OSM name field: "Berlin Hauptbahnhof"
  • OSM short_name field: "Berlin Hbf"
  • Photon search: q=Berlin Hbf
    Returns unrelated results

Expected behavior:
Searching for "Berlin Hbf" should return the station, since this abbreviation is stored in the short_name field.

Question:
Does Photon index the short_name field? If not, could this be added to improve discoverability of stations commonly referred to by abbreviations (Hbf, Gare, etc.)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions