Tags:
create new tag
view all tags

Question

Hi,

I recently reinstalled a new Cairo Twiki and copied all the data, pub, and template directories from a Beijing Twiki.

Everything is working great except for my search lines, which for some reason now refuse to work. For example:

%SEARCH{"Status\: \| In Progress;TOPICPARENT{name=\"%TOPIC%\"};Iterations Completed\: \| none", scope="text" regex="on" nosearch="on" nototal="on" nosummary="on" format="---++++++ $topic New"}%

This previously found all the 'child' topics which contained the 'In Progress' etc strings.

Can anyone help shed some light on this?

In Cairo, does SEARCH no longer search through the metadata lines?

Thanks, Jeff

Environment

TWiki version: TWikiRelease04Sep2004
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Redhat Enterprise v3
Web server: Apache 2.0
Perl version: 5.8.5
Client OS: Windows
Web Browser: Firefox
Categories: Search

-- JeffVance - 20 Dec 2005

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 just ran into a very similar problem where I was populating hidden form "fields" with data that resulted from a search of the current TOPIC. The search string under Beijing was a somewhat complex regex - but after upgrading to Cairo I noticed that the SEARCH was returning no data. Turns out that the SEARCH string was too complex. A simple mod confirmed this and I used GlobalReplacePlugin to make the change everywhere.

I would recommend taking a sample case, twiddling with the SEARCH string and once you figure out what is not working see if you can use the global replace to make your changes. As to why this a happened under Cairo I haven't a clue.

-- SteveRJones - 25 Jan 2006

Just from glancing at the SEARCH it looks OK to me, although I do not know what the topic content is you are searching. There is no search incompatibility I am aware of between Beijing and Cairo.

-- PeterThoeny - 25 Jan 2006

Try taking out the comma here:

none", scope="text"
     ^

The comma just worked in Beijing but stopped doing so in Cairo.

-- MartinCleaver - 25 Jan 2006

That must be it, thanks for pointing this out Martin!

-- PeterThoeny - 27 Jan 2006

Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2006-01-27 - PeterThoeny
 
  • 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.