cross
New Foswiki release 2.1.6 is available with important security fixes.
Sourceforge foswiki email lists being discontinued. Subscribe to the new Foswiki announce and discuss lists at MailingLists
You are here: Foswiki>Tasks Web>Item11145 (17 Dec 2011, GeorgeClark)Edit Attach

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

pencil
Priority: Urgent
Current State: Closed
Released In: 1.1.4
Target Release: patch
Applies To: Engine
Component: FoswikiTemplates, Performance, SEARCH
Branches:
Reported By: GeorgeClark
Waiting For:
Last Change By: GeorgeClark
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 distro:a573e5b38c58 distro:bf0d6928eac5
TargetRelease patch
ReleasedIn 1.1.4
Topic revision: r6 - 17 Dec 2011, GeorgeClark - This page was cached on 18 Sep 2018 - 18:46.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy