Changes between Version 4 and Version 5 of TracSearch
- Timestamp:
- 10/23/2016 04:37:54 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracSearch
v4 v5 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). 4 5 Using the Trac search facility is straightforward and its interface should be familiar to most users. 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. 6 4 7 5 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 6 9 The search results show the most recent modifications ranked first in the resultsrather than the most relevant result.7 The search results show the most recent modifications ranked first rather than the most relevant result. 10 8 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. 9 == Quick searches 13 10 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 wiki link], 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 32 26 33 27 ----