[TYPO3-v4] Improving backend search for 4.4 and 4.5

Ernesto Baschny [cron IT] ernst at cron-it.de
Tue Sep 20 15:45:49 CEST 2011


Dmitry Dulepov schrieb am 20.09.2011 12:45:

> Ernesto Baschny [cron IT] wrote:
>> To make it less intrusive, you could change the backported patch to only
>> look at "searchField" in "ctrl" if this key is defined, else go through
>> all text fields (as usual), so that at least the same content will be
>> found.
> 
> But that would make search slow again. This what the original patch
> tries to avoid. One solution is to implement full search for 'tx_'
> tables only. But than there is another problem: how do we exclude
> certain extension tables from search?

It will be slow only if you use "old school" extensions which does not
provide the searchFields setting. If you want "speed", you upgrade your
extensions to fit the scheme. This is backwards compatible and enforces
people to write a proper searchFields setup for their tables.

If the third party extensions don't provide these, one could also create
an extension that just adds proper searchFields part to the TCA from a
central point (looping through all extensions).

Else you end up with not finding records you used to find before, after
a "minor update" of TYPO3 4.5, which is installed automatically for most
customers.

> I do not have a git sandbox. How can that be created?

Has been answered by the fellow git enthusiasts already. ;)

Cheers,
Ernesto


More information about the TYPO3-project-v4 mailing list