|
- Timestamp:
-
Jul 17, 2018, 2:11:22 PM (6 years ago)
- Author:
-
trac
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v1
|
v2
|
|
1 | | = Using Search = |
| 1 | = Using Search |
2 | 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). |
| 3 | Trac has built-in search functionality to search for occurrences of keywords and substrings in wiki pages, tickets and changeset properties, such as author, revision and log messages. |
4 | 4 | |
5 | | Using the Trac search facility is straightforward and its interface should be familiar to most users. |
| 5 | In addition to the [search: Search module], you will also find a small search field above the navigation bar. It provides convenient access to the search module from all pages. |
6 | 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. |
| 7 | The search results show the most recent modifications ranked first. |
8 | 8 | |
9 | | The search results show the most recent modifications ranked first in the results rather than the most relevant result. |
| 9 | == Quick searches |
10 | 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: |
| 11 | For quick access to project resources, the quick-search field at the top of every page can be used to enter a [TracLinks TracLink], which will take you directly to the resource identified by that link: |
15 | 12 | |
16 | 13 | * ![42] -- Opens change set 42 |
17 | 14 | * !#42 -- Opens ticket number 42 |
18 | 15 | * !{1} -- Opens report 1 |
19 | | * /trunk -- Opens the browser for the `trunk` directory |
| 16 | * /trunk -- Opens the browser for the `trunk` directory in the default repository |
| 17 | * /repos1/trunk -- Opens the browser for the `trunk` directory in the `repos1` repository |
20 | 18 | |
21 | | == Advanced == |
| 19 | To disable the Quickjump feature for a keyword start the query with an exclamation mark (`!`): use `!TracGuide` to search for occurrences of the literal word !TracGuide. |
22 | 20 | |
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 (`!`). |
| 21 | == Search TracLinks |
25 | 22 | |
26 | | === Search Links === |
27 | | From the Wiki, it is possible to link to a specific search, using |
28 | | `search:` links: |
| 23 | From the Wiki, it is possible to link to a specific search using `search:` links: |
29 | 24 | * `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 |
| 25 | * `search:?q=trac+link&wiki=on` will search for "trac" and "link" in wiki pages only |
| 26 | |
| 27 | == Search Filters |
| 28 | |
| 29 | On the search page, pressing the modifier key while selecting a search filter will unselect all other search filters. |
32 | 30 | |
33 | 31 | ---- |
34 | | See also: TracGuide, TracLinks, TracQuery |
| 32 | See also: TracLinks, TracQuery |
|