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
--
TWikiGuest - 04 Oct 2006
Answer
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.
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