Tags:
create new tag
, view all tags
A simple search engine-like TWiki search.

DirectSearch is a simple replacement for the TWiki search CGI. It has less features, but the syntax (IMHO) is more friendly. The idea is:

  • Being able to easily search various word (AND-wise)
  • Being able to search for exact sentences
  • Integrated regular expressions

The semantics of the search are:

  • Anything between double quotes is a sentence. It is treated like a single word
  • Word are separated with spaces, and they are searched AND-wise
  • Words are more or less transparently passed on to egrep, so you can use regular expressions

This search method is used by PhotonSearch as an integrated Perl sub (that is, you don't have to download the DirectSearch CGI to use PhotonSearch), but you can download the standalone DirectSearch CGI if you wish to use it separately.

-- EstebanManchado - 04 Oct 2002

Topic revision: r2 - 2002-10-15 - EstebanManchado
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by PerlIdeas, 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.