[TYPO3-core] RFC: indexed_search: join_pages configurable

Ernesto Baschny [cron IT] ernst at cron-it.de
Mon Aug 6 12:00:37 CEST 2007


Hi,

since I've got a +1 from Masi already, this is a reminder: "one more to
go". :)

Cheers,
Ernesto


Ernesto Baschny [cron IT] wrote: on 13.06.2007 17:38:
> This is a SVN patch request (sysext indexed_search).
> 
> Problem:
> In indexed_search documentation, section "Handling extendToSubpages - or
> not" the join_pages "flag" is mentioned:
> 
> http://typo3.org/documentation/document-library/extension-manuals/doc_indexed_search/current/view/1/6/#id3520912
> 
> 
> But this is a class variable which cannot be configured by an admin.
> This setting is needed on sites with a huge page-tree, else the
> indexed_search query is useless (>30secs per request).
> 
> Currently we have to change PHP code of the indexed_search plugin, or
> write an extension to change this variable setting.
> 
> 
> Solution:
> Make this option configurable via TypoScript. I opted for a more
> speaking name for the TS-setting (skipExtendToSubpagesChecking) because
> "join_pages" won't tell you anything about what this flag actually does.
> Feel free to suggest a better name.
> 
> 
> Branches: Trunk only.
> 
> Reference: http://bugs.typo3.org/view.php?id=5791
> 
> 
> Documentation changes (in doc_indexed_search, who is on charge of that?):
> 
> In 1.5 Configuration add:
> 
> search.skipExtendToSubpagesChecking = boolean = default: 0
> 
> If set to false (default), on each search the complete page tree will be
> transversed to check which pages are accessible, so that the
> extendToSubpages can be considered. This will work with a limited number
> of page-ids (which means most sites), but will result in slow
> performance on huge page trees.
> 
> If set to true, then the final result rows are joined with the pages
> table to select pages that are currently accessible. This will speed up
> searching in very huge page trees, but on the other hand
> extendToSubpages will NOT be taken into account!
> 
> 
> Then in 1.6 the whole "Handling extendToSubpages - or not" part can be
> dropped.
> 
> 
> Cheers,
> Ernesto


More information about the TYPO3-team-core mailing list