Tags:
create new tag
, view all tags

Question

Hello, I have some topics which are categorized through forms. The categories are Software, Server, Software-Problem,.... Now, I want to do a Search for a specific Software (so the topics of my search are all the topics which are categorized as "Software"), for example MicrosoftWord. So my Search String is:

%SEARCH{ "MicrosoftWord" topic="$percntSEARCH{\"Kategorie.*?value=\"Software\"\" regex=\"on\" scope=\"text\" nonoise=\"on\"  format=\"$dollartopic\" separator=\", \"}$nop%"  excludetopic="Web*" scope="both"  header="| *Eintrag* | *Erstellt am:*| *Erstellt von:* | *Kategorie* |" format="| $topic | $createdate | $createwikiusername | $formfield(Kategorie)"}%
But this doesn't work, because there is no Output. What's the right way for doing this?

Any help appreciated! Sorry for my bad english...

Environment

TWiki version: TWikiRelease04x00x04
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Debian Linux, Kernel 2.6.8
Web server: Apache 2.0.55
Perl version: Perl v5.8.8
Client OS: MS Windows 2000 Service Pack4
Web Browser: Opera 9.01
Categories: Search

-- TWikiGuest - 04 Oct 2006

Answer

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.

This looks like a simple AND search. Example:

%SEARCH{ "MicrosoftWord;META:FIELD.*\"Kategorie.*?value=\"Software\"\" regex="on" ... }%

-- PeterThoeny - 04 Oct 2006

Yes, I also had this idea, but so the scope of the search has always to be "both" and I get all the topics where the phrase "MicrosoftWord" is in the textbody, too. But I want to search just in the topic name. I also have a category "Software-Problems", if there is a topic e.g. "Lost DLL", I want to search for "Lost DLL" in all the topics categorized as "Software-Problems"...Thank you for your help...

-- TWikiGuest - 05 Oct 2006

This is a search on "Lost DLL" in text, for topics with Kategorie field set to "Software-Problems", with topic name containing "MicrosoftWord":

%SEARCH{ "Lost DLL;META:FIELD.*\"Kategorie.*?value=\"Software-Problems\"\" regex="on" topic="*MicrosoftWord*" ... }%

-- PeterThoeny - 05 Oct 2006

I think that is what I wanted. Thank you very much...

-- TWikiGuest - 06 Oct 2006

 
Change status to:
Topic revision: r5 - 2006-10-06 - TWikiGuest
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.