Actions
Bug #14978
closedSearch Result Rendering is very slow, when showing large embedded Dokuments (pdf)
Start date:
2005-09-19
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
We had a Typo3 based Document Management, where we used the indexed search for a fulltext search in the embedded documents. PDFs with more than 100 pages (but smaller as well) slow the rendering process down, so it took longer than 2 minutes for the results to appear.
I found out that most of the time (94%!!!) is consumed in line 1702 of class.tx_indexedsearch.php
$str = ereg_replace('[[:space:]]+',' ',$str);
and Alex from TUG Austria proposed using
$str = preg_replace('/\s\s+/', ' ', $str);
instead, which works fine with me.
hth
Paul
(issue imported from #M1464)
Actions