Closed nreinicke closed 6 months ago
I think the problem is that we run the edge oriented search if the vertex search returns an error. But, in this case the error gets overridden by a new error that gets returned by the edge oriented search not having the right input field.
Perhaps we should make the vertex/edge search decision more explicit in the config.
Perhaps we should make the vertex/edge search decision more explicit in the config
definitely, this fallback behavior was a sloppy choice. maybe SearchApp has a search_orientation: SearchOrientation
enum which can be Vertex or Edge and we pick the search logic from that.
When running the national beer run over the latest compass code, I get back an error:
The vertex rtree plugin is enabled and it's correctly adding the origin and destination vertex ids and so it shouldn't be attempting an edge based search.