For environments it's easy to inject some custom settings using form_alter that get serialized to database.
But it's not easily possible to add custom settings to search pages. These settings are serialized to the database as well and would be a perfect place for some custom search page settings
I created a small patch that allows contrib modules to do so easily.
Motivation: Apache Solr Multilingual currently has some global configurations for the default search index / environment and for the default search page. In order to support multiple environments and multiple search pages we need to store individual settings.
PASSED: [[SimpleTest]]: [MySQL] 570 pass(es). View
FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch 1918030-4.patch. Unable to apply patch. See the log in the details link for more information. View
PASSED: [[SimpleTest]]: [MySQL] 513 pass(es). View