DokuWiki

It's better when it's simple

User Tools

Site Tools


Sidebar

Translations of this page?:

Learn about DokuWiki

Advanced Use

Corporate Use

Our Community


Follow us on Facebook, Twitter and other social networks.

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