There are two search pages; WebSearch offers basic search features, while WebSearchAdvanced offers more control over searches.
By default searches are 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
Regular expression search searches for 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#VarSEARCH.
TWikiPreferences defines these search preferences:
SEARCHDEFAULTTTYPE
: Default search type for search forms which calls the search
script %SEARCHDEFAULTTTYPE%
SEARCHVARDEFAULTTYPE
: Default search type for %SEARCH{}
variable literal
SEARCHSTOPWORDS
: List of stop words (common words and characters to exclude from a keyword search) a, all, am, an, and, any, as, at, b, be, by, c, d, e, for, from, g, h, how, i, i'm, i.e., in, is, isn't, it, it's, its, j, k, l, m, n, o, of, on, or, p, q, r, s, t, that, that's, the, this, to, u, v, w, was, wasn't, what, what's, when, where, who, who's, will, with, x, y, z
Related Topics: UserDocumentationCategory