DokuWiki

It's better when it's simple

User Tools

Site Tools


config:search_nslimit

This is an old revision of the document!


Configuration Setting: search_nslimit

develonly

By default, the search will always search the whole wiki for a given query. For wikis structured by namespaces it might be desirable to limit searches to the current general namespace automatically.

This setting defines how many namespaces of the current page's namespace hierarchy are used to limit the search.

  • Type: Number
  • Default: 0

Example:

Considering a search is started from the page foo:bar:page, the following namespace limitation would be used depending on the search_nslimit setting:

search_nslimit used namespace
0 no limitation
1 foo
2 foo:bar
3 foo:bar

See also

config/search_nslimit.1523451090.txt.gz · Last modified: 2018-04-11 14:51 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