DokuWiki

It's better when it's simple

User Tools

Site Tools


config:search_fragment

Configuration Setting: search_fragment

By default the search will look for exact matches of the given query only. Asterisks can be used to search for word fragments instead, however novice users may not know about this.

This setting can be used to modify the default behavior. DokuWiki will automatically add asterisks according to this setting.

Please note that fragment searching has a performance impact! Changing this setting may make your search slower and might be more taxing on your server overall.

  • Type: String
    • exact – exact matches are searched only
    • starts_with – matches have to start with the given query
    • ends_with – matches have to end with the given query
    • contains – matches have to contain the given query
  • Default: exact

See also

config/search_fragment.txt · Last modified: 2018-04-25 16:25 by andi

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki