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