[TYPO3-core] indexed_search patches

Michael Stucki michael at typo3.org
Wed Sep 28 10:01:22 CEST 2005

Thanks for your comments, Martin!

> Patches are good for code review. But could you simply provide a complete
> test t3x-File for lazy folk like me?


>> - If an external file is too large (e.g. TSref), then the lexer needs
>> too
>> long for processing the words. To work around this, I have hardcoded
>> that indexing of documents with $contentArr['body'] longer than 100000
>> characters will be skipped. Of course the better solution is to make
>> the> lexer class (much!) faster...
> Perhaps a config..? Making the lexer faster is probably not so easy.

You can make a simple try: How long does it take on your (default)
installation to index the TS reference?

In my case, PHP always run out of time...

>> - New TLO "config" properties "index_keywords" and
>> "index_description". Both
>> will be disabled by default (which is not the same like the current
>> behavior, though I think that nobody really wants this).
> I'm not sure if I really want to index them as you won't see them in the
> page, but these tags should be taken into account for calculating the
> relevance.

Hmmm, I see. I'll remove this from the patch and start a 2nd attempt to hide
them from the display later...

Regards, michael
Use a newsreader! Check out

More information about the TYPO3-team-core mailing list