Changes between Version 1 and Version 2 of TracSearch
- Timestamp:
- Aug 15, 2016, 5:36:48 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracSearch
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 descriptions. 4 5 Using the Trac search facility is straightforward and its interface should be familiar to most www 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 == Quickjumps == 10 For intermediate and advanced use, Trac has a useful way to quickly navigate to a given resource, named '''quickjumps'''. 7 The search results show the most recent modifications ranked first rather than the most relevant result. 11 8 12 If you enter a [wiki:TracLinks TracLink] in the search field above the navigation bar, Trac will recognize this and assume you know where you're going. 13 14 For example: 9 == Quick searches 10 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 11 16 12 * ![42] -- Opens change set 42 17 13 * !#42 -- Opens ticket number 42 18 14 * !{1} -- Opens report 1 15 * /trunk -- Opens the browser for the `trunk` directory in the default repository 16 * /repos1/trunk -- Opens the browser for the `trunk` directory in the `repos1` repository 19 17 20 '''Note:''' ''This is a particularly useful feature to quickly navigate to a specific issue ticket or changeset.'' 18 == Advanced 21 19 22 === Advanced: Disabling Quickjumps === 23 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 (!). 20 === Disabling Quickjump 21 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 23 === Search Links 24 From the Wiki, it is possible to link to a specific search, using `search:` links: 25 * `search:?q=crash` will search for the string "crash" 26 * `search:?q=trac+link&wiki=on` will search for "trac" and "link" in wiki pages only 24 27 25 28 ----