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