Tags:
create new tag
view all tags

Question

I want to narrow a search to the members of a particular topic "tree".

TreePlugin can scan a topic "tree" - parents and children descending from one topic. I want to run a search against that tree, using a form (ala the Advanced Search).

<form action="%SCRIPTURLPATH%/search%SCRIPTSUFFIX%/%INTURLENCODE{"%INCLUDINGWEB%"}%/">
...

Is this possible? Can I hand appropriate values to the search command?

Our webs are huge. Making a subweb is infeasible; too many links will break (Support.NameSpaceIssuesWithNestedWebs). Searching content within "our" pages is difficult.

HELP?

Environment

TWiki version: TWikiRelease04x00x05
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS:  
Web server:  
Perl version:  
Client OS:  
Web Browser:  
Categories:  

-- VickiBrown - 31 May 2007

Answer

ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.

I can't think of a way to do this currently :/ as I presume you don't just want to search the topic set that has a direct parent, but all their children too. I wonder if DBCachePlugin might help you though.

-- SvenDowideit - 01 Jun 2007

The version of TreePlugin that allows setting a delimter will do this for me, but that functionality isn't (yet) part of the standard TreePlugin distribution :-(

-- VickiBrown - 02 Jun 2007

mail him, he's a nice bloke smile Steffen i mean..

-- SvenDowideit - 02 Jun 2007

Assuming this is answered...

-- PeterThoeny - 29 Jul 2007

The latest version of TreePlugin has a separator parameter that allows you to do this:

%SEARCH{search="junk" web="Foo" topic="%TREEVIEW{web="Foo" topic="GrandParent" format="$topic" nodiv="1" separator=", "}%"}%

-- DeanSpicer - 30 Mar 2008

Change status to:
Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r6 - 2008-03-30 - DeanSpicer
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.