Open kemkim opened 6 years ago
Hello,
This behaviour is due to a timeout when searching for itineraries. Nationwide searches are more complicated to perform than local ones, so take more time.
----- Mail d'origine ----- De: kemkim notifications@github.com À: HSLdevcom/digitransit-ui digitransit-ui@noreply.github.com Cc: Subscribed subscribed@noreply.github.com Envoyé: Sat, 13 Jan 2018 08:52:11 +0100 (CET) Objet: [HSLdevcom/digitransit-ui] Too few search results showing (#2102)
When searching nationwide trips, a following problem has repeatedly shown, that each search results only one or two alternative trips, and to see more trips, you need to click before or after buttons to see more. It is maybe done to avoid excessive route calculations in nationwide big timetable data system, but I think that at least three or five search results would be necessary. Current search results make you think, that there really would not be more available trips in specific day.
But there actually are! If you click previous or next buttons.
-- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/HSLdevcom/digitransit-ui/issues/2102
Is it demanded of Finnish Transport Agency that Digitransit must not use more computer time to calculate more search results? Formerly old version of Matka.fi gave 3 to 5 alternative search results each time.
This is a performance issue of the routing algorithm itself. Returning 5 alternatives might require an unreasonable long waiting time from the user. If the route search takes, say, over 1 minute, there is a risk that user closes the application.
When searching nationwide trips, a following problem has repeatedly shown, that each search results only one or two alternative trips, and to see more trips, you need to click before or after buttons to see more. It is maybe done to avoid excessive route calculations in nationwide big timetable data system, but I think that at least three or five search results would be necessary. Current search results make you think, that there really would not be more available trips in specific day.
But there actually are! If you click previous or next buttons.