HSLdevcom / jore4

Public transport registry
European Union Public License 1.2
4 stars 2 forks source link

Expand search to include name variations #1732

Open HenrikHartiala opened 3 months ago

HenrikHartiala commented 3 months ago

Currently the search only searches by label, but we need to make the search match also the name of the stop including translations and long name.

    nameFin: 'Pohjoisesplanadi',
    nameSwe: 'Norraesplanaden',
    nameFinLong: 'Pohjoisesplanadi (pitkä)',
    nameSweLong: 'Norraesplanaden (lång)',

NOTE: probably need to first search by all these fields (label and name variables) from tiamat, and then do another search by the result stop place id. Or enrich routes and lines db data through tiamat query.