Closed (fixed)
Project:
Search API
Version:
8.x-1.15
Component:
Plugins
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Feb 2020 at 17:51 UTC
Updated:
26 Oct 2021 at 12:33 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
klemendev commentedThis issue can be fixed by setting Highlight returned field data parameter from Always to If the server returns fields.
I am not sure if this is meant to be this way or not so I am leaving this ticket open for one of the developers to confirm if this is normal or not.
Comment #3
drunken monkeyVery strange, this seems to indicate a failure in the regular expression evaluation.
The attached patch should both detect this problem and add a more helpful log message for the problem. (Which, admittedly, will still flood your logs, I guess.) Could you please try it and tell me what it says? (Or whether it doesn’t work at all?)
Comment #4
klemendev commentedI have changed the configuration of the search engine quite a lot from the time of reporting this bug and this is no longer happening, unfortunately.
Comment #5
pcate commentedI've been seeing this error in our logs as well. Here's a stack trace from new relic:
Comment #6
drunken monkeyThanks a lot for chiming in, PCate! Unfortunately, the stack trace doesn’t really bring any extra information here. Could you tell me what happens when you apply the patch, what message you get in your logs then?
Comment #7
drunken monkeyOK, then let’s just commit and see the error message when someone files a bug report for it. ;)
Comment #10
odai atiehI have the same issue, and you can find more info in the below:
Message: A PCRE error (#2) occurred during results highlighting.
I fixed the issue by changing the settings of the Highlight:
Highlight returned field data -> If the server returns fields