I’m trying to implement a Solr-based advanced search page. I can use the default advanced search page by making a few custom .phtml files, but the default controller does not create the query I want.
I’d like to change the controller defined in the routing to my own controller. Is there a way to control the order in which routes are added? My module.php adds the route in its onBootstrap method, but this is run before Search’s onBootstrap method runs.