Tags:
create new tag
view all tags

Question

When I perform a search from twiki, it only works if the search value is in the Topic Name, but fails if the search value is in the Topic Body.

Environment

TWiki version: TWikiRelease04x02x00
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: centos5
Web server: apache
Perl version:  
Client OS:  
Web Browser:  
Categories: Search

-- WillBerger - 02 May 2008

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.

The issue is in how egrep and grep is setup in the configure page. After some discussion with folks in the IRC group, they suggested to change the setting to the following.

/bin/egrep %CS{|-i}% %DET{|-l}% -H -- %TOKEN|U% %FILES|F% and /bin/fgrep %CS{|-i}% %DET{|-l}% -H -- %TOKEN|U% %FILES|F%

It fixed the problem

-- WillBerger - 02 May 2008

Change status to:
Topic revision: r1 - 2008-05-02 - WillBerger
 
  • 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.