Solr settings cannot be exportable with features if the environments used in search pages are different in development server and production server, because in hook_apachesolr_search_default_searchers
the env_id
component of each search page does not accept a default value to get it from the variable apachesolr_default_environment
.
I have two solr environments exported with features, Production (working on my production server) and Development (to use in my local development server). To have 'production' as the 'env_id' of my web search page forces me to manually change it after reverting features in my development server.
Comment | File | Size | Author |
---|---|---|---|
#1 | apachesolr-default-environment-selection-2448615-1.patch | 4.75 KB | Cinedin |
Comments
Comment #1
Cinedin CreditAttribution: Cinedin commentedComment #2
jsst CreditAttribution: jsst at Ibuildings commentedThis patch works fine on 7.x-1.8, should go in a stable release.
Comment #3
jsst CreditAttribution: jsst at Ibuildings commentedComment #5
japerry