Question
In our site do not work "the limit search to topics" or "the exclude topics form search". Both facilities from the %SEARH function, it looks like they are disable.
What is it happening?,
Here you have a example:
This is the topic search:
Case 1:
%SEARCH{ "Topic" scope="text" topic="all" type="literal" nosearch="on" format="$topic" separator="," }%
Case 2:
%SEARCH{ "Topic" scope="text" excludetopic="TestTopic1" type="literal" nosearch="on" format="$topic" separator="," }%
Case 3:
%SEARCH{ "Topic" scope="text" topic="Web*" type="literal" nosearch="on" format="$topic" separator="," }%
And this is the result:
Case 1: TestTopic1 WebChanges WebHome WebIndex WebNotify WebPreferences WebSearch WebStatistics WebTopicList Number of topics: 9
Case 2: TestTopic1 WebChanges WebHome WebIndex WebNotify WebPreferences WebSearch WebStatistics WebTopicList Number of topics: 9
Case 3: TestTopic1 WebChanges WebHome WebIndex WebNotify WebPreferences WebSearch WebStatistics WebTopicList Number of topics: 9
Environment
--
RaulTamarit - 26 Mar 2004
Answer
The
excludetopic="..." and
topic="..." are recent additions. Please upgrade to a recent
TWikiBetaRelease if you need this feature.
--
PeterThoeny - 27 Mar 2004