CINXE.COM
search [DokuWiki]
<!DOCTYPE html> <html lang="en" dir="ltr" class="no-js"> <head> <meta charset="utf-8" /> <title>search [DokuWiki]</title> <meta name="generator" content="DokuWiki"/> <meta name="theme-color" content="#008800"/> <meta name="robots" content="index,follow"/> <meta name="keywords" content="search"/> <link rel="search" type="application/opensearchdescription+xml" href="/lib/exe/opensearch.php" title="DokuWiki"/> <link rel="start" href="/"/> <link rel="contents" href="/search?do=index" title="Sitemap"/> <link rel="manifest" href="/lib/exe/manifest.php"/> <link rel="alternate" type="application/rss+xml" title="Recent Changes" href="/feed.php"/> <link rel="alternate" type="application/rss+xml" title="Current namespace" href="/feed.php?mode=list&ns="/> <link rel="edit" title="Edit this page" href="/search?do=edit"/> <link rel="alternate" type="text/html" title="Plain HTML" href="/_export/xhtml/search"/> <link rel="alternate" type="text/plain" title="Wiki Markup" href="/_export/raw/search"/> <link rel="canonical" href="https://www.dokuwiki.org/search"/> <link rel="stylesheet" href="/lib/exe/css.php?t=dokuwiki&tseed=826e08a6afc6f3af33bf3037d5fc6458"/> <link rel="alternate" hreflang="cs" href="https://www.dokuwiki.org/cs:search"/> <link rel="alternate" hreflang="de" href="https://www.dokuwiki.org/de:search"/> <link rel="alternate" hreflang="el" href="https://www.dokuwiki.org/el:search"/> <link rel="alternate" hreflang="es" href="https://www.dokuwiki.org/es:search"/> <link rel="alternate" hreflang="fr" href="https://www.dokuwiki.org/fr:search"/> <link rel="alternate" hreflang="it" href="https://www.dokuwiki.org/it:search"/> <link rel="alternate" hreflang="ja" href="https://www.dokuwiki.org/ja:search"/> <link rel="alternate" hreflang="ko" href="https://www.dokuwiki.org/ko:search"/> <link rel="alternate" hreflang="nl" href="https://www.dokuwiki.org/nl:search"/> <link rel="alternate" hreflang="pl" href="https://www.dokuwiki.org/pl:search"/> <link rel="alternate" hreflang="pt-br" href="https://www.dokuwiki.org/pt-br:search"/> <link rel="alternate" hreflang="ru" href="https://www.dokuwiki.org/ru:search"/> <link rel="alternate" hreflang="sv" href="https://www.dokuwiki.org/sv:search"/> <link rel="alternate" hreflang="zh" href="https://www.dokuwiki.org/zh:search"/> <link rel="alternate" hreflang="zh-tw" href="https://www.dokuwiki.org/zh-tw:search"/> <link rel="alternate" hreflang="x-default" href="https://www.dokuwiki.org/search"/> <script >var NS='';var JSINFO = {"plugins":{"edittable":{"default columnwidth":""}},"id":"search","namespace":"","ACT":"show","useHeadingNavigation":0,"useHeadingContent":0};(function(H){H.className=H.className.replace(/\bno-js\b/,'js')})(document.documentElement);</script> <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.4/jquery.min.js" defer="defer"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.13.2/jquery-ui.min.js" defer="defer"></script> <script src="/lib/exe/js.php?t=dokuwiki&tseed=826e08a6afc6f3af33bf3037d5fc6458&lang=en" defer="defer"></script> <meta name="viewport" content="width=device-width,initial-scale=1" /> <link rel="shortcut icon" href="/lib/tpl/dokuwiki/images/favicon.ico" /> <link rel="apple-touch-icon" href="/lib/tpl/dokuwiki/images/apple-touch-icon.png" /> <meta name="verify-v1" content="OVxl3gsCv2MhZqh1cBQyl0JytWXSwXMjyvwc+4w3WtA=" /> <meta name="google-site-verification" content="YhTVK69hW94ZXUtc2zSLPxTkZKbZIn0zK67mz5WQB-E" /> <!-- Global site tag (gtag.js) - Google Analytics --> <script async src="https://www.googletagmanager.com/gtag/js?id=UA-83791-1"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'UA-83791-1', { 'anonymize_ip': true }); </script> </head> <body> <div id="dokuwiki__site"><div id="dokuwiki__top" class="site dokuwiki mode_show tpl_dokuwiki showSidebar hasSidebar"> <!-- ********** HEADER ********** --> <header id="dokuwiki__header"><div class="pad group"> <div class="headings group"> <ul class="a11y skip"> <li><a href="#dokuwiki__content">skip to content</a></li> </ul> <h1 class="logo"><a href="/start" accesskey="h" title="Home [h]"><img src="/lib/tpl/dokuwiki/images/logo.png" width="64" height="64" alt="" /><span>DokuWiki</span></a></h1> <p class="claim">It's better when it's simple</p> </div> <div class="tools group"> <!-- USER TOOLS --> <div id="dokuwiki__usertools"> <h3 class="a11y">User Tools</h3> <ul> <li class="action login"><a href="/search?do=login&sectok=" title="Log In" rel="nofollow"><span>Log In</span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M10 17.25V14H3v-4h7V6.75L15.25 12 10 17.25M8 2h9a2 2 0 0 1 2 2v16a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2v-4h2v4h9V4H8v4H6V4a2 2 0 0 1 2-2z"/></svg></a></li> </ul> </div> <!-- SITE TOOLS --> <div id="dokuwiki__sitetools"> <h3 class="a11y">Site Tools</h3> <form action="/start" method="get" role="search" class="search doku_form" id="dw__search" accept-charset="utf-8"><input type="hidden" name="do" value="search" /><input type="hidden" name="id" value="search" /><div class="no"><input name="q" type="text" class="edit" title="[F]" accesskey="f" placeholder="Search" autocomplete="on" id="qsearch__in" value="" /><button value="1" type="submit" title="Search">Search</button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> <div class="mobileTools"> <form action="/doku.php" method="get" accept-charset="utf-8"><div class="no"><input type="hidden" name="id" value="search" /><select name="do" class="edit quickselect" title="Tools"><option value="">Tools</option><optgroup label="Page Tools"><option value="edit">Edit this page</option><option value="revisions">Old revisions</option><option value="backlink">Backlinks</option></optgroup><optgroup label="Site Tools"><option value="recent">Recent Changes</option><option value="media">Media Manager</option><option value="index">Sitemap</option></optgroup><optgroup label="User Tools"><option value="login">Log In</option></optgroup></select><button type="submit">></button></div></form> </div> <ul> <li class="action recent"><a href="/search?do=recent" title="Recent Changes [r]" rel="nofollow" accesskey="r">Recent Changes</a></li><li class="action media"><a href="/search?do=media&ns=" title="Media Manager" rel="nofollow">Media Manager</a></li><li class="action index"><a href="/search?do=index" title="Sitemap [x]" rel="nofollow" accesskey="x">Sitemap</a></li> </ul> </div> </div> <!-- BREADCRUMBS --> <div class="breadcrumbs"> <div class="trace"><span class="bchead">Trace:</span> <span class="bcsep">•</span> <span class="curid"><bdi><a href="/search" class="breadcrumbs" title="search">search</a></bdi></span></div> </div> <hr class="a11y" /> </div></header><!-- /header --> <div class="wrapper group"> <!-- ********** ASIDE ********** --> <nav id="dokuwiki__aside" aria-label="Sidebar"><div class="pad aside include group"> <h3 class="toggle">Sidebar</h3> <div class="content"><div class="group"> <div class="plugin_translation is-dropdown"><span class="title">Translations of this page<sup><a href="/localization" class="wikilink1" title="localization" data-wiki-id="localization">?</a></sup>: </span><ul><li class="span"><span class="wikilink1" title="English">English (en)</span></li><li class="a"><a class="wikilink2" title="|العربية" href="/ar:search">|العربية (ar)</a></li><li class="a"><a class="wikilink2" title="Català" href="/ca:search">Català (ca)</a></li><li class="a"><a class="wikilink1" title="Česky" href="/cs:search">Česky (cs)</a></li><li class="a"><a class="wikilink2" title="Dansk" href="/da:search">Dansk (da)</a></li><li class="a"><a class="wikilink1" title="Deutsch" href="/de:search">Deutsch (de)</a></li><li class="a"><a class="wikilink1" title="Ελληνικά" href="/el:search">Ελληνικά (el)</a></li><li class="a"><a class="wikilink2" title="Esperanto" href="/eo:search">Esperanto (eo)</a></li><li class="a"><a class="wikilink1" title="Español" href="/es:search">Español (es)</a></li><li class="a"><a class="wikilink2" title="فارسی" href="/fa:search">فارسی (fa)</a></li><li class="a"><a class="wikilink1" title="Français" href="/fr:search">Français (fr)</a></li><li class="a"><a class="wikilink2" title="עברית" href="/he:search">עברית (he)</a></li><li class="a"><a class="wikilink2" title="Magyar" href="/hu:search">Magyar (hu)</a></li><li class="a"><a class="wikilink1" title="Italiano" href="/it:search">Italiano (it)</a></li><li class="a"><a class="wikilink1" title="日本語" href="/ja:search">日本語 (ja)</a></li><li class="a"><a class="wikilink1" title="한국어" href="/ko:search">한국어 (ko)</a></li><li class="a"><a class="wikilink2" title="Lietuvių Kalba" href="/lt:search">Lietuvių Kalba (lt)</a></li><li class="a"><a class="wikilink1" title="Nederlands" href="/nl:search">Nederlands (nl)</a></li><li class="a"><a class="wikilink2" title="Norsk" href="/no:search">Norsk (no)</a></li><li class="a"><a class="wikilink1" title="Polski" href="/pl:search">Polski (pl)</a></li><li class="a"><a class="wikilink1" title="Português" href="/pt-br:search">Português (pt-br)</a></li><li class="a"><a class="wikilink2" title="Română" href="/ro:search">Română (ro)</a></li><li class="a"><a class="wikilink1" title="Русский" href="/ru:search">Русский (ru)</a></li><li class="a"><a class="wikilink2" title="Српски Језик" href="/sr:search">Српски Језик (sr)</a></li><li class="a"><a class="wikilink1" title="Svenska" href="/sv:search">Svenska (sv)</a></li><li class="a"><a class="wikilink2" title="ไทย" href="/th:search">ไทย (th)</a></li><li class="a"><a class="wikilink2" title="Українська" href="/uk:search">Українська (uk)</a></li><li class="a"><a class="wikilink1" title="中文" href="/zh:search">中文 (zh)</a></li><li class="a"><a class="wikilink1" title="繁體中文" href="/zh-tw:search">繁體中文 (zh-tw)</a></li></ul></div> <p> <strong>Learn about DokuWiki</strong> </p> <ul> <li class="level1"><div class="li"> <a href="/features" class="wikilink1" title="features" data-wiki-id="features">Features</a> & <a href="/blogroll" class="wikilink1" title="blogroll" data-wiki-id="blogroll">reviews</a> </div> </li> <li class="level1"><div class="li"> <a href="/install" class="wikilink1" title="install" data-wiki-id="install">Installation guide</a></div> </li> <li class="level1"><div class="li"> <a href="/manual" class="wikilink1" title="manual" data-wiki-id="manual">User manual</a> & <a href="/wiki:syntax" class="wikilink1" title="wiki:syntax" data-wiki-id="wiki:syntax">syntax</a></div> </li> <li class="level1"><div class="li"> <a href="/changes" class="wikilink1" title="changes" data-wiki-id="changes">Release notes</a></div> </li> <li class="level1"><div class="li"> <a href="/faq" class="wikilink1" title="faq" data-wiki-id="faq">FAQ</a></div> </li> </ul> <p> <strong>Advanced Use</strong> </p> <ul> <li class="level1"><div class="li"> <a href="/extensions" class="wikilink1" title="extensions" data-wiki-id="extensions">Extensions</a></div> </li> <li class="level1"><div class="li"> <a href="/development" class="wikilink1" title="development" data-wiki-id="development">Development manual</a></div> </li> </ul> <p> <strong>Corporate Use</strong> </p> <ul> <li class="level1"><div class="li"> <a href="/faq:support" class="wikilink1" title="faq:support" data-wiki-id="faq:support">Get support</a></div> </li> <li class="level1"><div class="li"> <a href="/donate" class="wikilink1" title="donate" data-wiki-id="donate">Donations</a></div> </li> </ul> <p> <strong>Our Community</strong> </p> <ul> <li class="level1"><div class="li"> <a href="/teams:getting_involved" class="wikilink1" title="teams:getting_involved" data-wiki-id="teams:getting_involved">Get involved</a></div> </li> <li class="level1"><div class="li"> <a href="/dokuinstall" class="wikilink1" title="dokuinstall" data-wiki-id="dokuinstall">Users</a></div> </li> <li class="level1"><div class="li"> <a href="http://forum.dokuwiki.org" class="urlextern" title="http://forum.dokuwiki.org">User forum</a></div> </li> <li class="level1"><div class="li"> <a href="/mailinglist" class="wikilink1" title="mailinglist" data-wiki-id="mailinglist">Development mailinglist</a></div> </li> </ul> <hr /> <p> Follow us on <a href="https://phpc.social/@dokuwiki" class="urlextern" title="https://phpc.social/@dokuwiki">Mastodon</a> and other <a href="/social" class="wikilink1" title="social" data-wiki-id="social">social networks</a>. </p> <p> <a href="/privacy" class="wikilink1" title="privacy" data-wiki-id="privacy">Our Privacy Policy</a> </p> </div></div> </div></nav><!-- /aside --> <!-- ********** CONTENT ********** --> <main id="dokuwiki__content"><div class="pad group"> <div class="pageId"><span>search</span></div> <div class="page group"> <!-- wikipage start --> <!-- TOC START --> <div id="dw__toc" class="dw__toc"> <h3 class="toggle">Table of Contents</h3> <div> <ul class="toc"> <li class="level1"><div class="li"><a href="#search">Search</a></div> <ul class="toc"> <li class="level2"><div class="li"><a href="#syntax">Syntax</a></div> <ul class="toc"> <li class="level3"><div class="li"><a href="#terms_you_want_to_exclude">Terms you want to exclude (-)</a></div></li> <li class="level3"><div class="li"><a href="#partial_matching">Partial matching (*)</a></div></li> <li class="level3"><div class="li"><a href="#phrase_search">Phrase search ("")</a></div></li> <li class="level3"><div class="li"><a href="#search_within_a_namespace">Search within a namespace (@)</a></div></li> <li class="level3"><div class="li"><a href="#the_or_operator">The OR operator (|)</a></div></li> <li class="level3"><div class="li"><a href="#grouping_search">Grouping search</a></div></li> </ul> </li> <li class="level2"><div class="li"><a href="#quicksearch">Quicksearch</a></div></li> <li class="level2"><div class="li"><a href="#opensearch">OpenSearch</a></div></li> <li class="level2"><div class="li"><a href="#some_background_on_the_searchindex">Some Background on the Searchindex</a></div></li> <li class="level2"><div class="li"><a href="#see_also">See also</a></div></li> </ul></li> </ul> </div> </div> <!-- TOC END --> <h1 class="sectionedit1" id="search">Search</h1> <div class="level1"> <p> Search is done through the Search box in top row (when using the default <a href="/template" class="wikilink1" title="template" data-wiki-id="template">template</a>). </p> </div> <div class="secedit editbutton_section editbutton_1"><form class="button btn_secedit" method="post" action="/search"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="1701231821" /><input type="hidden" name="summary" value="[Search] " /><input type="hidden" name="target" value="section" /><input type="hidden" name="hid" value="search" /><input type="hidden" name="codeblockOffset" value="0" /><input type="hidden" name="range" value="1-111" /><button type="submit" title="Search">Edit</button></div></form></div> <h2 class="sectionedit2" id="syntax">Syntax</h2> <div class="level2"> <p> Basically DokuWiki performs logical AND search. That means all the words you put in the query will be used. Search is always case insensitive. </p> <p> DokuWiki's advanced search query syntaxes are described below. All of the syntaxes can be combined together. In this section, we'll use square brackets <code>[ … ]</code> to represent characters entered in the query. </p> </div> <div class="secedit editbutton_section editbutton_2"><form class="button btn_secedit" method="post" action="/search"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="1701231821" /><input type="hidden" name="summary" value="[Syntax] " /><input type="hidden" name="target" value="section" /><input type="hidden" name="hid" value="syntax" /><input type="hidden" name="codeblockOffset" value="0" /><input type="hidden" name="range" value="112-486" /><button type="submit" title="Syntax">Edit</button></div></form></div> <h3 class="sectionedit3" id="terms_you_want_to_exclude">Terms you want to exclude (-)</h3> <div class="level3"> <p> You can attach a minus sign <code>-</code> immediately before a keyword to exclude pages that contain this keyword from your search results. For example, the query <code>[ dokuwiki -plugin ]</code> will find pages which contain “DokuWiki” but do not contain “plugin”. </p> <p> You can use this syntax <code>-</code> not just for a keyword, but also for a partial matching, a phrase search, a namespace search and a grouping search described below. For example, you can use the query <code>[ -"phrase you want to exclude" ]</code> to exclude exact phrase. </p> </div> <div class="secedit editbutton_section editbutton_3"><form class="button btn_secedit" method="post" action="/search"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="1701231821" /><input type="hidden" name="summary" value="[Terms you want to exclude (-)] " /><input type="hidden" name="target" value="section" /><input type="hidden" name="hid" value="terms_you_want_to_exclude" /><input type="hidden" name="codeblockOffset" value="0" /><input type="hidden" name="range" value="487-1044" /><button type="submit" title="Terms you want to exclude (-)">Edit</button></div></form></div> <h3 class="sectionedit4" id="partial_matching">Partial matching (*)</h3> <div class="level3"> <p> You can perform a partial matching by prefixing and/or suffixing an asterisk <code>*</code> to a keyword. For example, searching for <code>[ wiki ]</code> will only find “wiki”, but searching for <code>[ *wiki ]</code> will also find “DokuWiki” (suffix matching). You can also perform <code>[ doku* ]</code> (prefix matching) and <code>[ *okuwik* ]</code> (partial matching). </p> <p> Note that <code>*</code> is not a “wildcard”. You can't use it within a keyword, i.e. searching <code>[ doku*iki ]</code> will not find anything for you. </p> </div> <div class="secedit editbutton_section editbutton_4"><form class="button btn_secedit" method="post" action="/search"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="1701231821" /><input type="hidden" name="summary" value="[Partial matching (*)] " /><input type="hidden" name="target" value="section" /><input type="hidden" name="hid" value="partial_matching" /><input type="hidden" name="codeblockOffset" value="0" /><input type="hidden" name="range" value="1045-1547" /><button type="submit" title="Partial matching (*)">Edit</button></div></form></div> <h3 class="sectionedit5" id="phrase_search">Phrase search ("")</h3> <div class="level3"> <p> You can search for exact phrases by putting double quotes around a set of words, e.g. <code>[ "installing dokuwiki" ]</code>. </p> </div> <div class="secedit editbutton_section editbutton_5"><form class="button btn_secedit" method="post" action="/search"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="1701231821" /><input type="hidden" name="summary" value="[Phrase search ("")] " /><input type="hidden" name="target" value="section" /><input type="hidden" name="hid" value="phrase_search" /><input type="hidden" name="codeblockOffset" value="0" /><input type="hidden" name="range" value="1548-1699" /><button type="submit" title="Phrase search ("")">Edit</button></div></form></div> <h3 class="sectionedit6" id="search_within_a_namespace">Search within a namespace (@)</h3> <div class="level3"> <p> You can restrict the search to namespaces. To search pages within a namespace, prefix <code>@</code> or <code>ns:</code> to the namespace. To not search pages within a namespace, prefix <code>^</code> or <code>-ns:</code> to the namespace. </p> <p> For example, the query <code>[ dokuwiki @wiki ^wiki:docs ]</code> will find pages which contain a word “dokuwiki” and are within “wiki” namespace but not within “wiki:docs” namespace. The query <code>[ dokuwiki ns:wiki -ns:wiki:docs ]</code> will do the same thing. </p> </div> <div class="secedit editbutton_section editbutton_6"><form class="button btn_secedit" method="post" action="/search"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="1701231821" /><input type="hidden" name="summary" value="[Search within a namespace (@)] " /><input type="hidden" name="target" value="section" /><input type="hidden" name="hid" value="search_within_a_namespace" /><input type="hidden" name="codeblockOffset" value="0" /><input type="hidden" name="range" value="1700-2194" /><button type="submit" title="Search within a namespace (@)">Edit</button></div></form></div> <h3 class="sectionedit7" id="the_or_operator">The OR operator (|)</h3> <div class="level3"> <p> By default DokuWiki performs a logical AND search, but you can also use a logical OR search by using <code>|</code> or <code>or</code> as a separator of your search terms. For example, the query <code>[ plugin | template ]</code> will find pages which contain either “plugin” or “template” or both. The query <code>[ plugin or template ]</code> will do the same thing. You may use OR as a simple alternative to <a href="#partial_matching" title="search ↵" class="wikilink1">Partial matching (*)</a>, e.g. in finding pages about people with spelling variations as <code>[ Frank | Fränk ]</code>. </p> <p> The OR operator has a lower precedence than the default AND operator. That is, the query <code>[ dokuwiki plugin | template ]</code> can be represented as <code>[ (dokuwiki plugin) | template ]</code>, not as <code>[ dokuwiki (plugin | template) ]</code>. Instead, use a grouping syntax as described below. </p> <p> If you want to <a href="#search_within_a_namespace" title="search ↵" class="wikilink1">restrict your search on a namespace</a>, you <strong>have</strong> to group your search with “()”, otherwise a search <code>[ plugin | template @plugin]</code> will behave as <code>[ (plugin) | (template @plugin)]</code>, i.e. searching for “plugin” OR “template @plugin” over <em>all</em> namespaces, but not as you may intend searching “plugin” OR “template” over the <em>plugin</em> namespace, the latter being correctly expressed as <code>[ (plugin | template) @plugin]</code>. </p> </div> <div class="secedit editbutton_section editbutton_7"><form class="button btn_secedit" method="post" action="/search"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="1701231821" /><input type="hidden" name="summary" value="[The OR operator (|)] " /><input type="hidden" name="target" value="section" /><input type="hidden" name="hid" value="the_or_operator" /><input type="hidden" name="codeblockOffset" value="0" /><input type="hidden" name="range" value="2195-3475" /><button type="submit" title="The OR operator (|)">Edit</button></div></form></div> <h3 class="sectionedit8" id="grouping_search">Grouping search</h3> <div class="level3"> <p> You can group search terms by enclosing terms with parentheses <code>( … )</code>. Having the highest precedence, parentheses may be used to force precedence. </p> <p> For example, the query <code>[ dokuwiki -(plugin | @plugin) ]</code> will find pages which contain a word “DokuWiki” but not contain a word “plugin” and also are not within a namespace “plugin”. </p> </div> <div class="secedit editbutton_section editbutton_8"><form class="button btn_secedit" method="post" action="/search"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="1701231821" /><input type="hidden" name="summary" value="[Grouping search] " /><input type="hidden" name="target" value="section" /><input type="hidden" name="hid" value="grouping_search" /><input type="hidden" name="codeblockOffset" value="0" /><input type="hidden" name="range" value="3476-3842" /><button type="submit" title="Grouping search">Edit</button></div></form></div> <h2 class="sectionedit9" id="quicksearch">Quicksearch</h2> <div class="level2"> <p> You can enter the beginning of a <a href="/pagename" class="wikilink1" title="pagename" data-wiki-id="pagename">pagename</a> into the search box and wait half a second. In most modern browsers you will automatically get a popup with matching pagenames. </p> </div> <div class="secedit editbutton_section editbutton_9"><form class="button btn_secedit" method="post" action="/search"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="1701231821" /><input type="hidden" name="summary" value="[Quicksearch] " /><input type="hidden" name="target" value="section" /><input type="hidden" name="hid" value="quicksearch" /><input type="hidden" name="codeblockOffset" value="0" /><input type="hidden" name="range" value="3843-4042" /><button type="submit" title="Quicksearch">Edit</button></div></form></div> <h2 class="sectionedit10" id="opensearch">OpenSearch</h2> <div class="level2"> <p> <a href="/_detail/opensearch2.png?id=search" class="media" title="opensearch2.png"><img src="/_media/opensearch2.png" class="mediaright" loading="lazy" title="OpenSearch in Firefox" alt="OpenSearch in Firefox" /></a> </p> <p> <a href="http://www.opensearch.org/" class="urlextern" title="http://www.opensearch.org/">OpenSearch</a> is a standard to make it easy to integrate a website's search into your browser. It is supported by all modern browsers. DokuWiki is OpenSearch enabled. </p> <p> Here is how to add your wiki's search to Firefox (other browsers probably handle it in a similar way): </p> <ol> <li class="level1"><div class="li"> open your wiki in the browser</div> </li> <li class="level1"><div class="li"> click the magnifying glass on the left of your browser's search field</div> </li> <li class="level1"><div class="li"> choose “Add <your wiki's title>”, e.g. “Add DokuWiki”</div> </li> </ol> </div> <div class="secedit editbutton_section editbutton_10"><form class="button btn_secedit" method="post" action="/search"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="1701231821" /><input type="hidden" name="summary" value="[OpenSearch] " /><input type="hidden" name="target" value="section" /><input type="hidden" name="hid" value="opensearch" /><input type="hidden" name="codeblockOffset" value="0" /><input type="hidden" name="range" value="4043-4578" /><button type="submit" title="OpenSearch">Edit</button></div></form></div> <h2 class="sectionedit11" id="some_background_on_the_searchindex">Some Background on the Searchindex</h2> <div class="level2"> <p> DokuWiki now uses an index to search even big wikis very fast, to be able to find anything the index needs to be filled with current data. Information about a page's content is added and updated when a page is viewed by a user. Each page includes an invisible image (<a href="https://en.wikipedia.org/wiki/webbug" class="interwiki iw_wp" title="https://en.wikipedia.org/wiki/webbug">webbug</a>) which calls the index update process if needed.<sup><a href="#fn__1" id="fnt__1" class="fn_top">1)</a></sup> (That is, if the timestamp of the page is newer than the timestamp of the index file.) </p> <p> The index consists of files called <code>page.idx</code>, <code>w<em>[n]</em>.idx</code> and <code>i<em>[n]</em>.idx</code> located in the index directory. <code>w<em>[n]</em>.idx</code> contains a list of all words (except stopwords) with a length of <em>n</em> that appear on the wiki pages. For every line in <code>w<em>[n]</em>.idx</code> there is a line in the corresponding <code>i<em>[n]</em>.idx</code> file that contains page references in the form of <code>pn*freq</code>. <code>pn</code> is a line offset for <code>page.idx</code>, <code>freq</code> denotes how often the word appears on the page. Multiple page references are separated with a colon. </p> <p> The <a href="/taskrunner" class="wikilink1" title="taskrunner" data-wiki-id="taskrunner">indexer</a> uses a language specific stopword file which contains a list of very common words which will never be indexed (e.g. the word <code>the</code> in English). Searching for such a word will not return any hits. This stopword file is located in language folder of the DokuWiki installation, that is <code><dokuwiki>/inc/lang/<language>/stopwords.txt</code> so you can edit the file in proper folder for adding or removing words not indexed for that language (Unfortunately, these edits are not kept on upgrades of DokuWiki). </p> <p> If you upgraded your wiki from an older version without an index, your search won't return anything until the index is built. You can either wait until this happens by browsing your wiki or install the <a href="/plugin:searchindex" class="wikilink1" title="plugin:searchindex" data-wiki-id="plugin:searchindex">searchindex</a> plugin. You can also use the provided <a href="/cli" class="wikilink1" title="cli" data-wiki-id="cli">commandline script</a> for updating the index. </p> </div> <div class="secedit editbutton_section editbutton_11"><form class="button btn_secedit" method="post" action="/search"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="1701231821" /><input type="hidden" name="summary" value="[Some Background on the Searchindex] " /><input type="hidden" name="target" value="section" /><input type="hidden" name="hid" value="some_background_on_the_searchindex" /><input type="hidden" name="codeblockOffset" value="0" /><input type="hidden" name="range" value="4579-6528" /><button type="submit" title="Some Background on the Searchindex">Edit</button></div></form></div> <h2 class="sectionedit12" id="see_also">See also</h2> <div class="level2"> <ul> <li class="level1"><div class="li"> <a href="/faq:searchindex" class="wikilink1" title="faq:searchindex" data-wiki-id="faq:searchindex">Search Index Issues</a></div> </li> <li class="level1"><div class="li"> <a href="/config:search_fragment" class="wikilink1" title="config:search_fragment" data-wiki-id="config:search_fragment">Configuration Setting: search_fragment</a></div> </li> <li class="level1"><div class="li"> <a href="/config:search_nslimit" class="wikilink1" title="config:search_nslimit" data-wiki-id="config:search_nslimit">Configuration Setting: search_nslimit</a></div> </li> <li class="level1"><div class="li"> <a href="/config:readdircache" class="wikilink1" title="config:readdircache" data-wiki-id="config:readdircache">Configuration Setting: readdircache</a></div> </li> <li class="level1"><div class="li"> <a href="http://www.dokuwiki.org/plugins?plugintag=search" class="interwiki iw_plugintag" title="http://www.dokuwiki.org/plugins?plugintag=search">Plugins tagged with "search"</a></div> </li> </ul> </div> <div class="secedit editbutton_section editbutton_12"><form class="button btn_secedit" method="post" action="/search"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="1701231821" /><input type="hidden" name="summary" value="[See also] " /><input type="hidden" name="target" value="section" /><input type="hidden" name="hid" value="see_also" /><input type="hidden" name="codeblockOffset" value="0" /><input type="hidden" name="range" value="6529-" /><button type="submit" title="See also">Edit</button></div></form></div><div class="footnotes"> <div class="fn"><sup><a href="#fnt__1" id="fn__1" class="fn_bot">1)</a></sup> <div class="content">Note that the webbug is used for other tasks, too. See <a href="http://forum.dokuwiki.org/post/3116" class="urlextern" title="http://forum.dokuwiki.org/post/3116">http://forum.dokuwiki.org/post/3116</a></div></div> </div> <!-- wikipage stop --> </div> <div class="docInfo"><bdi>search.txt</bdi> · Last modified: 2023-11-29 05:23 by <bdi>schplurtz</bdi></div> <hr class="a11y" /> </div></main><!-- /content --> <!-- PAGE ACTIONS --> <nav id="dokuwiki__pagetools" aria-labelledby="dokuwiki__pagetools__heading"> <h3 class="a11y" id="dokuwiki__pagetools__heading">Page Tools</h3> <div class="tools"> <ul> <li class="edit"><a href="/search?do=edit" title="Edit this page [e]" rel="nofollow" accesskey="e"><span>Edit this page</span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M20.71 7.04c.39-.39.39-1.04 0-1.41l-2.34-2.34c-.37-.39-1.02-.39-1.41 0l-1.84 1.83 3.75 3.75M3 17.25V21h3.75L17.81 9.93l-3.75-3.75L3 17.25z"/></svg></a></li><li class="revs"><a href="/search?do=revisions" title="Old revisions [o]" rel="nofollow" accesskey="o"><span>Old revisions</span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M11 7v5.11l4.71 2.79.79-1.28-4-2.37V7m0-5C8.97 2 5.91 3.92 4.27 6.77L2 4.5V11h6.5L5.75 8.25C6.96 5.73 9.5 4 12.5 4a7.5 7.5 0 0 1 7.5 7.5 7.5 7.5 0 0 1-7.5 7.5c-3.27 0-6.03-2.09-7.06-5h-2.1c1.1 4.03 4.77 7 9.16 7 5.24 0 9.5-4.25 9.5-9.5A9.5 9.5 0 0 0 12.5 2z"/></svg></a></li><li class="backlink"><a href="/search?do=backlink" title="Backlinks" rel="nofollow"><span>Backlinks</span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M10.59 13.41c.41.39.41 1.03 0 1.42-.39.39-1.03.39-1.42 0a5.003 5.003 0 0 1 0-7.07l3.54-3.54a5.003 5.003 0 0 1 7.07 0 5.003 5.003 0 0 1 0 7.07l-1.49 1.49c.01-.82-.12-1.64-.4-2.42l.47-.48a2.982 2.982 0 0 0 0-4.24 2.982 2.982 0 0 0-4.24 0l-3.53 3.53a2.982 2.982 0 0 0 0 4.24m2.82-4.24c.39-.39 1.03-.39 1.42 0a5.003 5.003 0 0 1 0 7.07l-3.54 3.54a5.003 5.003 0 0 1-7.07 0 5.003 5.003 0 0 1 0-7.07l1.49-1.49c-.01.82.12 1.64.4 2.43l-.47.47a2.982 2.982 0 0 0 0 4.24 2.982 2.982 0 0 0 4.24 0l3.53-3.53a2.982 2.982 0 0 0 0-4.24.973.973 0 0 1 0-1.42z"/></svg></a></li><li class="top"><a href="#dokuwiki__top" title="Back to top [t]" rel="nofollow" accesskey="t"><span>Back to top</span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M13 20h-2V8l-5.5 5.5-1.42-1.42L12 4.16l7.92 7.92-1.42 1.42L13 8v12z"/></svg></a></li> </ul> </div> </nav> </div><!-- /wrapper --> <!-- ********** FOOTER ********** --> <footer id="dokuwiki__footer"><div class="pad"> <div class="license">Except where otherwise noted, content on this wiki is licensed under the following license: <bdi><a href="https://creativecommons.org/licenses/by-sa/4.0/deed.en" rel="license" class="urlextern">CC Attribution-Share Alike 4.0 International</a></bdi></div> <div class="buttons"> <a href="https://creativecommons.org/licenses/by-sa/4.0/deed.en" rel="license"><img src="/lib/images/license/button/cc-by-sa.png" alt="CC Attribution-Share Alike 4.0 International" /></a> <a href="https://www.dokuwiki.org/donate" title="Donate" ><img src="/lib/tpl/dokuwiki/images/button-donate.gif" width="80" height="15" alt="Donate" /></a> <a href="https://php.net" title="Powered by PHP" ><img src="/lib/tpl/dokuwiki/images/button-php.gif" width="80" height="15" alt="Powered by PHP" /></a> <a href="//validator.w3.org/check/referer" title="Valid HTML5" ><img src="/lib/tpl/dokuwiki/images/button-html5.png" width="80" height="15" alt="Valid HTML5" /></a> <a href="//jigsaw.w3.org/css-validator/check/referer?profile=css3" title="Valid CSS" ><img src="/lib/tpl/dokuwiki/images/button-css.png" width="80" height="15" alt="Valid CSS" /></a> <a href="https://dokuwiki.org/" title="Driven by DokuWiki" ><img src="/lib/tpl/dokuwiki/images/button-dw.png" width="80" height="15" alt="Driven by DokuWiki" /></a> </div> <div style="margin-top: 2em; font-size:90%" class="dokuwiki"><div style="float:right"><a href="http://www.splitbrain.org/personal#imprint" style="float:right; text-decoration: none; color:#333">Imprint</a></div></div><!-- Include for DokuWiki site wide top bar --> <style type="text/css"> @media screen { body { padding-top: 30px; } #global__header { position: absolute; top: 0; left: 0; text-align: left; vertical-align: middle; line-height: 1.5; background-color: #333; box-shadow: 0 0 8px rgba(0,0,0,0.5); width: 100%; margin: 0; padding: 5px 20px; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; white-space: nowrap; overflow: hidden; } #global__header h2 { position: absolute; left: -99999em; top: 0; overflow: hidden; display: inline; } #global__header ul, #global__header li { margin: 0; padding: 0; list-style: none; display: inline; line-height: 1.5; } #global__header a { color: #bbb; text-decoration: none; margin-right: 20px; font-size: 14px; font-weight: normal; } #global__header a:hover, #global__header a:active, #global__header a:focus { color: #fff; text-decoration: underline; } #global__header form { float: right; margin: 0 0 0 20px; } #global__header input { background-color: #333; background-image: none; border: 1px solid #bbb; color: #fff; box-shadow: none; border-radius: 2px; margin: 0; line-height: normal; padding: 1px 0 1px 0; height: auto; } #global__header input.button { border: none; color: #bbb; } #global__header input.button:hover, #global__header input.button:active, #global__header input.button:focus { color: #fff; text-decoration: underline; } } /* /@media */ @media only screen and (min-width: 601px) { /* changes specific for www.dokuwiki.org */ #dokuwiki__header { padding-top: 3em; } #dokuwiki__usertools { top: 3em; } /* changes specific for bugs.dokuwiki.org */ div#container div#showtask { top: 40px; } } /* /@media */ @media only screen and (max-width: 600px) { body { padding-top: 0; } #global__header { position: static; white-space: normal; overflow: auto; } #global__header form { float: none; display: block; margin: 0 0 .4em; } } /* /@media */ @media print { #global__header { display: none; } } /* /@media */ </style> <div id="global__header"> <h2>Global DokuWiki Links</h2> <form method="get" action="https://search.dokuwiki.org/" target="_top"> <input type="text" name="q" title="Search all DokuWiki sites at once" class="input" /> <input type="submit" title="Search all DokuWiki sites at once" value="Search" class="button" /> </form> <ul> <li><a href="https://download.dokuwiki.org" title="Download the latest release" target="_top">Download</a></li> <li><a href="https://www.dokuwiki.org" title="Read the DokuWiki documentation" target="_top">Wiki</a></li> <li><a href="https://forum.dokuwiki.org" title="Ask questions in the DokuWiki forum" target="_top">Forum</a></li> <li><a href="https://irc.dokuwiki.org" title="Check IRC chat logs or join the chat" target="_top">IRC</a></li> <li><a href="https://github.com/splitbrain/dokuwiki/issues" title="Report and track bugs" target="_top">Bugs</a></li> <li><a href="https://translate.dokuwiki.org/" title="Help translating the DokuWiki interface" target="_top">Translate</a></li> <li><a href="https://github.com/splitbrain/dokuwiki" title="Access the most recent git commits" target="_top">Git</a></li> <li><a href="https://xref.dokuwiki.org/reference/dokuwiki/" title="Cross-Reference of the DokuWiki source code" target="_top">XRef</a></li> <li><a href="https://codesearch.dokuwiki.org/" title="Search through the sources of DokuWiki, plugins and templates" target="_top">Code Search</a></li> </ul> </div> <!-- end of DokuWiki top bar include --> </div></footer><!-- /footer --> </div></div><!-- /site --> <div class="no"><img src="/lib/exe/taskrunner.php?id=search&1732438007" width="2" height="1" alt="" /></div> <div id="screen__mode" class="no"></div></body> </html>