| | 1 | = Using Search = |
| | 2 | |
| | 3 | Trac has a built-in search engine to allow finding occurrences of keywords and substrings in wiki pages, tickets and changeset properties (author, revision and log message). |
| | 4 | |
| | 5 | Using the Trac search facility is straightforward and its interface should be familiar to most users. |
| | 6 | |
| | 7 | Apart from the [search: Search module], you will also find a small search field above the navigation bar at all time. It provides convenient access to the search module from all pages. |
| | 8 | |
| | 9 | == "Quickjump" searches == |
| | 10 | For quick access to various project resources, the quick-search field at the top of every page can be used to enter a [TracLinks wiki link], which will take you directly to the resource identified by that link. |
| | 11 | |
| | 12 | For example: |
| | 13 | |
| | 14 | * ![42] -- Opens change set 42 |
| | 15 | * !#42 -- Opens ticket number 42 |
| | 16 | * !{1} -- Opens report 1 |
| | 17 | * /trunk -- Opens the browser for the `trunk` directory |
| | 18 | |
| | 19 | == Advanced == |
| | 20 | |
| | 21 | === Disabling Quickjumps === |
| | 22 | To disable the quickjump feature for a search keyword - for example when searching for occurences of the literal word !TracGuide - begin the query with an exclamation mark (!). |
| | 23 | |
| | 24 | === Search Links === |
| | 25 | From the Wiki, it is possible to link to a specific search, using |
| | 26 | `search:` links: |
| | 27 | * `search:?q=crash` will search for the string "crash" |
| | 28 | * `search:?q=trac+link&wiki=on` will search for "trac" and "link" |
| | 29 | in wiki pages only |
| | 30 | |
| | 31 | ---- |
| | 32 | See also: TracGuide, TracLinks, TracQuery |