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

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2002-10-15 - EstebanManchado
 
  • 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-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.