search
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
search [2011-01-09 21:19] – 79.25.124.126 | search [2016-10-09 01:35] – [OpenSearch] updated screenshot and instructions how to add your wiki's search to Firefox ach | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Search ======o | + | ====== Search ====== |
Search is done through the Search box in top row (when using the default [[template]]). | Search is done through the Search box in top row (when using the default [[template]]). | ||
- | |||
===== Syntax ===== | ===== Syntax ===== | ||
Line 11: | Line 10: | ||
==== Terms you want to exclude (-) ==== | ==== Terms you want to exclude (-) ==== | ||
- | You can attach a dash '' | + | You can attach a minus sign '' |
- | You can use this syntax '' | + | You can use this syntax '' |
==== Partial matching (*) ==== | ==== Partial matching (*) ==== | ||
Line 19: | Line 18: | ||
You can perform a partial matching by prefixing and/or suffixing an asterisk '' | You can perform a partial matching by prefixing and/or suffixing an asterisk '' | ||
- | Note that '' | + | Note that '' |
==== Phrase search ("" | ==== Phrase search ("" | ||
Line 33: | Line 32: | ||
==== The OR operator (|) ==== | ==== The OR operator (|) ==== | ||
- | By default DokuWiki performs a logical AND search, but you can also use a logical OR search by using '' | + | By default DokuWiki performs a logical AND search, but you can also use a logical OR search by using '' |
The OR operator has a lower precedence than the default AND operator. That is, the query '' | The OR operator has a lower precedence than the default AND operator. That is, the query '' | ||
+ | If you want to [[#Search within a namespace (@) |restrict your search on a namespace]], | ||
==== Grouping search ==== | ==== Grouping search ==== | ||
Line 49: | Line 49: | ||
===== OpenSearch ===== | ===== OpenSearch ===== | ||
- | {{ :opensearch.png|OpenSearch in Firefox}} | + | {{ :opensearch2.png|OpenSearch in Firefox}} |
[[http:// | [[http:// | ||
- | Here is how to add your Wiki's search to Firefox (other browsers probably handle it in a similar way): | + | Here is how to add your wiki's search to Firefox (other browsers probably handle it in a similar way): |
- open your wiki in the browser | - open your wiki in the browser | ||
- | - click the little arrow on the left of your search field | + | - click the magnifying glass on the left of your browser' |
- | - choose "Add DokuWiki" | + | - choose |
===== Some Background on the Searchindex ===== | ===== Some Background on the Searchindex ===== | ||
- | 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 ([[wp> | + | 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 ([[wp> |
The index consists of files called '' | The index consists of files called '' | ||
Line 67: | Line 67: | ||
The [[indexer]] uses a language specific stopword file which contains a list of very common words which will never be indexed (e.g. the word '' | The [[indexer]] uses a language specific stopword file which contains a list of very common words which will never be indexed (e.g. the word '' | ||
- | 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 use the provided [[cli|commandline script]] for updating the index. | + | 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 [[plugin: |
search.txt · Last modified: 2023-11-29 05:23 by schplurtz