Closed (duplicate)
Project:
Apache Solr Search
Version:
6.x-1.2
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Aug 2010 at 23:32 UTC
Updated:
2 Sep 2010 at 13:54 UTC
The function apachesolr_do_query() introduced by #759638: refactor code to make it possible for multiple modules to run a search breaks custom highlighting in search snippets.
If parameter hl.fl gets modified by an implementation of hook_modify_query() it will be lost because you do not hand over $params as a reference.
This breaks Apache Solr Multilingual.
| Comment | File | Size | Author |
|---|---|---|---|
| highlight.patch | 1.68 KB | mkalkbrenner |
Comments
Comment #1
mkalkbrennersorry there's some formatting in the patch. the important part is:
Comment #2
jpmckinney commentedDuplicate of #899560: apachesolr_do_query() has to take &$params by reference.