Closed (fixed)
Project:
Apache Solr Search
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
25 Jul 2012 at 18:02 UTC
Updated:
10 Aug 2012 at 14:31 UTC
Jump to comment: Most recent file
in function apachesolr_search_run() we have:
$process_response_callback = variable_get('apachesolr_search_process_response_callback', 'apachesolr_search_process_response');
This should be a search environment variable, not a variable that applies to all environments.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 1700472-1.patch | 858 bytes | pwolanin |
Comments
Comment #1
pwolanin commentedsimple change - plus cleans up variable naming for better consistency.
Comment #2
pwolanin commentedcommitted to 7 and 6
Comment #3
cpliakas commentedShould there be an update function here to save the current "apachesolr_search_process_response_callback" variable as an environment variable to all environments? I played around with this with Solr Devel, and this change would have broken the module. This is an über-power user feature, but I wanted to raise the point just in case.
Thanks,
Chris
Comment #4
pwolanin commentedWell, it was added by Nick to play with result grouping - it wasn't even advertised in the API docs afaik, so my answer was "no" to needing an update.
Comment #5
cpliakas commentedI'll buy that. Thanks!