| 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 | The search results show the most recent modifications ranked first in the results rather than the most relevant result. |
| 10 | |
| 11 | == "Quickjump" searches == |
| 12 | 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. |
| 13 | |
| 14 | For example: |
| 15 | |
| 16 | * ![42] -- Opens change set 42 |
| 17 | * !#42 -- Opens ticket number 42 |
| 18 | * !{1} -- Opens report 1 |
| 19 | * /trunk -- Opens the browser for the `trunk` directory |
| 20 | |
| 21 | == Advanced == |
| 22 | |
| 23 | === Disabling Quickjumps === |
| 24 | 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 (`!`). |
| 25 | |
| 26 | === Search Links === |
| 27 | From the Wiki, it is possible to link to a specific search, using |
| 28 | `search:` links: |
| 29 | * `search:?q=crash` will search for the string "crash" |
| 30 | * `search:?q=trac+link&wiki=on` will search for "trac" and "link" |
| 31 | in wiki pages only |
| 32 | |
| 33 | ---- |
| 34 | See also: TracGuide, TracLinks, TracQuery |