<<O>> Difference Topic TWikiSearchDotPm (5 - 2011-04-12 - TWikiContributor) |
Package =TWiki::SearchThis module implements all the search functionality.
On this page:
ClassMethod new ($session)Constructor for the singleton Search engine object.
ObjectMethod finish ()Break circular references.
StaticMethod getTextPattern ($text,$pattern)Sanitise search pattern - currently used for FormattedSearch only
ObjectMethod searchWeb (...)Search one or more webs according to the parameters.
If
If
If The function will throw Error::Simple if it encounters any problems with the syntax of the search string.
Note: If
Note: For legacy, if | ||||||||
Changed: | ||||||||
< < | If type="word" it will be changed to type="keyword" with wordBoundaries=1 . This will be used for searching with scope="text" only, because scope="topic" will do a Perl search on topic names. | |||||||
> > | If type="word" it will be changed to type="keyword" with | |||||||
Added: | ||||||||
> > | wordBoundaries=1 . This will be used for searching with scope="text"
only, because scope="topic" will do a Perl search on topic names. | |||||||
SMELL: If template is defined bookview will not work
SMELL: it seems that if you define | ||||||||
Changed: | ||||||||
< < | responsible for converting the TML to HTML yourself! | |||||||
> > | responsible for converting the TML to HTML yourself! | |||||||
FIXME: callback cannot work with format parameter (consider format='| $topic |'
StaticMethod formatQuery ($meta,$query) -> $text
StaticMethod *displayFormField ($meta,$args) -> $textParse the arguments to a $formfield specification and extract the relevant formfield from the given meta data.
In addition to the name of a field |