Changes between Version 1 and Version 2 of TracSearch
- Timestamp:
- Mar 2, 2017 6:39:50 AM (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 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 == "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. 7 The search results show the most recent modifications ranked first rather than the most relevant result. 11 8 12 For example: 9 == Quick searches 10 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: 13 12 14 13 * ![42] -- Opens change set 42 15 14 * !#42 -- Opens ticket number 42 16 15 * !{1} -- Opens report 1 17 * /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 18 18 19 == 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. 20 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 (!). 21 == Search TracLinks 23 22 24 === Search Links === 25 From the Wiki, it is possible to link to a specific search, using 26 `search:` links: 23 From the Wiki, it is possible to link to a specific search, using `search:` links: 27 24 * `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 25 * `search:?q=trac+link&wiki=on` will search for "trac" and "link" in wiki pages only 30 26 31 27 ----