The WebSearch form offers basic search features:
The search is keyword based like in a typical search engine:
intranet web service
returns all pages that have the three words anywhere in the page
intranet +web +service
"web service"
soap -shampoo
"-nowarn"
"how"
and "where"
, defined in the SEARCHSTOPWORDS setting in the TWikiPreferences
"SOAP"
, "WSDL"
, a literal "web service"
, but not "shampoo"
,soap +wsdl "web service" -shampoo
The WebSearchAdvanced form offers more control over search.
TWiki supports three types of searches:
keyword
: The basic search type
literal
: Simple search where text is searched literally
regex
: A RegularExpression search for power users
TWiki's regex search is a set of regular expression patterns:
!web service
\!shampoo
"SOAP"
, "WSDL"
, a literal "web service"
, but not "shampoo"
,soap;wsdl;web service;!shampoo
You can embed a nicely formatted search? in a topic by using the %SEARCH{}%
variable described in TWikiVariables?.
The TWikiPreferences has these settings:
SEARCHDEFAULTTTYPE
: Default search type for search forms which calls the search
script
SEARCHVARDEFAULTTYPE
: Default search type for %SEARCH{}
variable
SEARCHSTOPWORDS
: List of stop words