wiki:search
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| wiki:search [2026/02/10 16:33] – [Note that ''**\***'' is not a "wildcard". You can't use it _inside_ of a word. For example, searching ''\[ doku\*iki \]'' will not find anything for you.] bobbyk | wiki:search [2026/02/18 15:13] (current) – [Grouping search] bobbyk | ||
|---|---|---|---|
| Line 86: | Line 86: | ||
| . | . | ||
| Note that '' | Note that '' | ||
| - | |||
| ### The OR operator (|) | ### The OR operator (|) | ||
| By default, DokuWiki searches for _all_ the words in your search, but you can also search for _any_ of your search terms. (This is called a logical OR search.) | By default, DokuWiki searches for _all_ the words in your search, but you can also search for _any_ of your search terms. (This is called a logical OR search.) | ||
| - | OR searching is done by including '' | + | "OR" |
| - | For example, the query '' | + | For example, the query '' |
| - | The query '' | + | The query '' |
| - | You can make use of OR as a way to find search terms with spelling variations, for example '' | + | #### Examples: |
| + | |||
| + | Suppose we are looking for volunteer Mary Magathan and Representative Duane Droge (both of Kansas) | ||
| + | |||
| + | A search using the default " | ||
| + | |||
| + | {{: | ||
| + | |||
| + | * | ||
| + | |||
| + | A search using an " | ||
| + | |||
| + | {{: | ||
| + | |||
| + | * | ||
| + | * | ||
| + | * | ||
| + | * | ||
| + | * | ||
| + | * | ||
| + | |||
| + | You can make use of OR as a way to find search terms with _spelling variations_, for example '' | ||
| \_ | \_ | ||
| Line 111: | Line 131: | ||
| '' | '' | ||
| - | . | + | |
| But, if you needed to search for (gun show) or for (gun event), you could _not_ write it as '' | But, if you needed to search for (gun show) or for (gun event), you could _not_ write it as '' | ||
| - | Instead, use a grouping syntax | + | Instead, use a _grouping search_ — as described below. |
| ### Grouping search | ### Grouping search | ||
| You can group search terms by enclosing terms with parentheses '' | You can group search terms by enclosing terms with parentheses '' | ||
| - | For example, the query '' | + | For example, |
| + | |||
| + | The query would be '' | ||
wiki/search.1770759210.txt.gz · Last modified: 2026/02/10 16:33 by bobbyk