- π§πͺBelgium ΓΈkse
I stumbled accross the exact same problem when a SOLR container kept on dropping out even after memory increase.
An image dropped within a body field, in combination with the index title and alt atrribute options, caused the HTML not to be stripped.
Turning off the option to index both title and alt attribute options resolved the issue.
This should be addressed to get a more pragmatic solution though.
- Status changed to Postponed: needs info
about 2 years ago 10:33am 4 June 2023 - π¦πΉAustria drunken monkey Vienna, Austria
Thanks a lot for reporting this problem, and sorry it took me so long to get back to you!
This sounds a lot like π PHP 8.1 preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated HtmlFilter processor Fixed , which has just been fixed. Could you therefore please give the latest dev version of the module a try and see whether the problem still persists? - π¦πΉAustria maxilein
I run into the same problems using search_api_solr. When large base64 encoded images are embedded in the body it makes the SOLR go out of bounds. Probably because I am using ngramstring which has a quardratic memory consumption.
Maybe an option to explicitly treat base64 encoded stuff in strings would be an idea.I am using Drupal 11.1.7 and SOLR 9.8.1
- π¦πΉAustria maxilein
I would also like to mention this issue: it may be a solution - at least temporary https://www.drupal.org/project/search_api/issues/3069515 π¬ Silence the warnings: An overlong word (more than 50 characters) ... Needs work