Action: search
Union search, include results that match any of the whitespace separated keywords (
MATCH AGAINST IN BOOLEAN MODE & LIKE lower)Syntax
- Call:
{{search [phrase="Term"] [page="PageName"] [options=0|1] [topic=1] [form=1] [nomark=1] [style=one of ("br","ul","ol","comma") ] [scope=one of ("pages", "all")]}} -
phrasesearch term -
pagerestricts the search to the specified namespace, usepage="/"on sub-pages to search all clusters -
options- with the value 0 only the search field is displayed, other options and filters are hidden -
topicit is possible to calltitle— if it is advanced into 1, then search occurs only on the names of pages, otherwise both on the names and on the texts; -
form— indicates that it is necessary to derive the form of search together with the results. -
scopeanswers for that, where to the search: only in the pages or in the commentaries also. -
max— overwrites system default value -
nomark, advanced in one, makes it possible to hide frame around the results of search. -
styleanswers for the exterior view of results. - All parameters are optional.
Boolean Search Operators
TheMATCH AGAINST clause in MySQL, when used with the IN BOOLEAN MODE modifier, supports several operators to refine search queries. These operators include:-
+(mandatory inclusion): The word following the plus sign must be present in the result. -
-(exclusion): The word following the minus sign must not be present in the result. -
>(increase ranking): The word following the greater-than sign is included, and its ranking value is increased. -
<(decrease ranking): The word following the less-than sign is included, and its ranking value is decreased. -
()(grouping): Parentheses are used to group words into subexpressions, allowing them to be treated as a single unit for inclusion, exclusion, or ranking. -
~(negate ranking): The ranking value of the word following the tilde is negated. -
*(wildcard): The asterisk serves as a truncation (or wildcard) operator, where words matching the prefix of the word preceding the asterisk are included. For example,sql*finds words like "sql", "sqlite", etc.. -
"(phrase matching): Double quotes are used to define a phrase, requiring the entire phrase to be matched for inclusion or exclusion. - [no operator] implies OR
These operators allow for complex and powerful searches, making the boolean mode suitable for experienced users who need precise control over search results.
Resources
Examples
{{search phrase="BadBehaviour" page="/"}}Search results for «BadBehaviour» (15):
-
5.5 Change Log[link3]
Extensions 1. added Bad Behavior (/Dev/Components/Lib/BadBehaviour) extension
change log, release -
Bad Behaviour[link4]
see /Dev/Components/Lib/BadBehaviour- copy tool_badbehaviour.php to admin/module/ to see logs
admin panel, bad behaviour, security, spam -
6.0 Change Log[link5]
updated * Bad Behavior (https://github.com/Bad-Behaviour/badbehaviour) 2.2.24 * clipboard.js (https://github.com/zenorocha/clipboard.js) v2.0.11 * Hashids (https://hashids.org/php/) ...
change log -
Bad Behaviour[link6]
-
6.1 Change Log[link7]
updated * Bad Behaviour (https://github.com/Bad-Behaviour/badbehaviour) 2.2.26 * clipboard.js (https://github.com/zenorocha/clipboard.js) v2.0.11 * freeCap (/Dev/Components/Lib/Captcha) ...
change log
See also
- Binary string search[link8] - allows users to do a string search using exact or regex search.
- [link1] https://dev.mysql.com/doc/refman/8.4/en/fulltext-boolean.html
- [link2] https://mariadb.com/docs/server/ha-and-performance/optimization-and-tuning/optimization-and-indexes/full-text-indexes/full-text-index-overview
- [link3] https://wackowiki.org/doc/Dev/Release/R5.5/ChangeLog
- [link4] https://wackowiki.org/doc/Forum/Integrations/BadBehaviour
- [link5] https://wackowiki.org/doc/Dev/Release/R6.0/ChangeLog
- [link6] https://wackowiki.org/doc/Dev/PatchesHacks/BadBehaviour
- [link7] https://wackowiki.org/doc/Dev/Release/R6.1/ChangeLog
- [link8] https://wackowiki.org/doc/Dev/PatchesHacks/BinaryStringSearch