Actions
Bug #21074
closedTCEforms suggest doesn't find everything on large sites and is slow
Start date:
2009-09-16
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.3
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
On large sites (e.g. 20.000 pages) there are situations, when suggest doesn't find all results.
This can happen, if you e.g. have 500 users and each one has site called "links" and nobody has access to the other's site. So suggest would find this page for some users and for some not.
- During each query 50 elements are fetched
- Recursion depth of fetching another 50 recurds is limited to $this->maxItems (which is 10 and should have nothing to do with recursion depth at all..)
Fetching 50 records again and again also takes a long time and because of PHP's maximum nesting level of 100, keeping 50 and removing the recursion limiter is no good idea.
To speed the process up and fetch all available records, increase the number of fetched records exponentially.
(issue imported from #M11979)
Files
Actions