We relaunched the TWiki.org project with an expanded TWiki charter, and we invite you to participate! The TWiki.org Code of Conduct agreement took effect on 27 Oct 2008. We ask existing twiki.org users to opt-in. You need to opt-in to participate in the Blog, Codev, Plugins and TWiki webs. -- PeterThoeny - 27 Oct 2008
You are here: TWiki> Support Web>SinglePageSearch (14 Oct 2003, ColasNahaboo)
Tags:
create new tag
, view all tags

Question

I'm wanting to do a nested search. The first search to find all pages that have some common element (ex: Twiki user pages with a specified city name) , and a secondary search to pull out additional information from that user page (a phone number). I can't figure out how to code the second query: Can I specify Twiki Search to search a specific page? I havn't been able to do this by using the "web=" parameter.

The logic thought is to write the two queries separately, then join them.

Thanks

Environment

TWiki version: TWikiRelease01Feb2003
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Redhat 9
Web server: Apache
Perl version: 5.6
Client OS: Windows 2k
Web Browser: Mozilla

-- MikeGleeson - 14 Oct 2003

Answer

I think you want FormattedSearch:

  • The first argument of %SEARCH find the pages
  • to pull out information, use the format parameter, with the $pattern construct
I this is not what you want, please re-set the SupportStatus of this topic to AskedQuestions

-- ColasNahaboo - 14 Oct 2003

Topic revision: r2 - 14 Oct 2003 - 18:32:46 - ColasNahaboo
 
TWIKI.NET
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback