This is a minor issue now, but is going to come up shortly, and will break custom modules using this variable.

The variable apachesolr_hl_highlight is not currently available through the apachesolr admin screens, but is checked in apachesolr_search.module:268 to override the solr server field highlighting settings

It is misspelled in apachesolr_search.module (an extra 't'), and will not use the admin settings (once implemented), if not also misspelled

- $params['hl.fl'] = variable_get('apachesolr_hl_fieldtohightlight', NULL);
+ $params['hl.fl'] = variable_get('apachesolr_hl_fieldtohighlight', NULL);

Comments

pwolanin’s picture

Version: 6.x-1.3 » 6.x-2.x-dev
Status: Active » Patch (to be ported)
StatusFileSize
new705 bytes

Thanks. committed to 6.x-1.x and ported to 7.x-1.x. Needs to be ported to 6.x-2.x.

jpmckinney’s picture

Status: Patch (to be ported) » Fixed
StatusFileSize
new638 bytes

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.