NOTE: If you are a developer, please use a private wiki based on foswiki/trunk on a daily base ...or use trunk.foswiki.org to view this page for some minimal testing.
Use Item9693 for docu changes for 1.2 and 2.0.

Item11145: Search for Template topics extremely slow - kills WebCreateNewTopicTemplate usage

Priority: CurrentState: AppliesTo: Component: WaitingFor:
Urgent Closed Engine FoswikiTemplates, Performance, SEARCH  
The search macros in System/WebCreateNewTopicTemplate and System/WebTemplateTopics don't actually limit the search to *Template topics, so in large webs a very large search load is encountered when either a missing topic is created, or the Template list is requested.

It appears that for QuerySearch, "name~'*Template'" does not limit the search. Adding topic="*Template" does.

-- GeorgeClark - 23 Sep 2011

not just that, using topic is much much faster.

-- SvenDowideit - 24 Sep 2011
 

ItemTemplate edit

Summary Search for Template topics extremely slow - kills WebCreateNewTopicTemplate usage
ReportedBy GeorgeClark
Codebase 1.1.3, trunk
SVN Range
AppliesTo Engine
Component FoswikiTemplates, Performance, SEARCH
Priority Urgent
CurrentState Closed
WaitingFor
Checkins Foswikirev:12618 Foswikirev:12619
TargetRelease patch
ReleasedIn 1.1.4
Topic revision: r6 - 17 Dec 2011, GeorgeClark
 
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons LicenseGet Foswiki at sourceforge.net. Fast, secure and Free Open Source software downloads