Search
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| Search [2016/07/19 01:45] – DRAFT changes to Search topic JMichaelTX | Search [2023/10/10 07:11] (current) – peternlewis | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | {{:search-find-magnify-icon.png? | + | ====== Searching in Keyboard Maestro ====== |
| + | |||
| + | **There are several different types of searches in Keyboard Maestro** | ||
| + | * [[manual:Search_Strings|Searching for Macros in the Keyboard Maestro Editor]] | ||
| + | * [[Actions|Macro Actions]] that Search the [[action: | ||
| + | * Searching this Wiki (see below) | ||
| ====== Searching the Wiki ====== | ====== Searching the Wiki ====== | ||
| - | 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 (Shortcut Key < |
| - | FIXME -- This was taken directly from the [[https://www.dokuwiki.org/search|DokuWiki site]], and needs to be revised to better fit the Keyboard Maestro Wiki. | + | |
| - | * 2016-07-18 20:44 CT (Mon) -- I have made some updates, but it still need work. | + | |
| - | While the Keyboard Maestro Wiki home page provides a list of major topics, | + | While the Keyboard Maestro Wiki home page provides a list of major topics, |
| ===== Syntax ===== | ===== Syntax ===== | ||
| Line 12: | Line 16: | ||
| By default, DokuWiki performs logical AND search. That means all the words you put in the query will be used. Search is always case insensitive. | By default, DokuWiki performs logical AND search. That means all the words you put in the query will be used. Search is always case insensitive. | ||
| - | DokuWiki' | + | DokuWiki' |
| ==== Partial matching ==== | ==== Partial matching ==== | ||
| - | * 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 |
| === Any Characters As a Prefix === | === Any Characters As a Prefix === | ||
| If you enter an asterisk before the keyword, then it will match text in topics that begin with anything (or nothing) plus the keyword | If you enter an asterisk before the keyword, then it will match text in topics that begin with anything (or nothing) plus the keyword | ||
| - | * For example, searching for '' | + | * For example, searching for `[ wiki ]` will only find " |
| === Any Characters as a Suffix === | === Any Characters as a Suffix === | ||
| - | You can also perform | + | You can also perform |
| === Using a Wildcard as both the Prefix and Suffix === | === Using a Wildcard as both the Prefix and Suffix === | ||
| - | and '' | + | and `[ *okuwik* ]` (partial matching). |
| - | However, the asterisk cannot be used within a keyword.\\ | + | However, the asterisk cannot be used within a keyword. |
| - | For example, searching | + | For example, searching |
| ==== Terms you want to exclude (-) ==== | ==== Terms you want to exclude (-) ==== | ||
| - | You can attach a minus sign '' | + | You can attach a minus sign `-` immediately before a keyword to exclude pages that contain this keyword from your search results. For example, the query `[ dokuwiki -plugin ]` will find pages which contain " |
| - | You can use this syntax | + | You can use this syntax |
| ==== Phrase search ("" | ==== Phrase search ("" | ||
| - | You can search for exact phrases by putting double quotes around a set of words, e.g. '' | + | You can search for exact phrases by putting double quotes around a set of words, e.g. `[ " |
| ==== Search within a namespace (@) ==== | ==== Search within a namespace (@) ==== | ||
| - | You can restrict the search to namespaces. To search pages within a namespace, prefix | + | You can restrict the search to namespaces. To search pages within a namespace, prefix |
| - | For example, the query '' | + | For example, the query `[ dokuwiki @wiki ^wiki:docs ]` will find pages which contain a word " |
| ==== 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 `|` or `or` as a separator of your search terms. For example, the query `[ plugin | template ]` will find pages which contain either " |
| - | 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 `[ dokuwiki plugin | template ]` can be represented as `[ (dokuwiki plugin) | template ]`, not as `[ dokuwiki (plugin | template) ]`. Instead, use a grouping syntax as described below. |
| - | If you want to [[#Search within a namespace (@) |restrict your search on a namespace]], | + | If you want to [[#Search within a namespace (@) |restrict your search on a namespace]], |
| ==== 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 `[ dokuwiki -(plugin | @plugin) ]` will find pages which contain a word " |
| ===== Quicksearch ===== | ===== Quicksearch ===== | ||
| - | You can enter the beginning of a [[pagename]] into the search box and wait half a second. In most modern browsers you will automatically get a popup with matching pagenames. | + | You can enter the beginning of a //pagename// (eg " |
| ===== OpenSearch ===== | ===== OpenSearch ===== | ||
| - | |||
| - | {{ : | ||
| [[http:// | [[http:// | ||
| Line 77: | Line 79: | ||
| - 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 little arrow on the left of your search field | ||
| - | - choose " | + | - choose " |
| - | + | ||
| - | ===== 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> | + | |
| - | + | ||
| - | The index consists of files called '' | + | |
| - | 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 install the [[plugin: | ||
Search.1468892721.txt.gz · Last modified: by JMichaelTX
