You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/project/search/get-started-search.md
+35-8Lines changed: 35 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -59,11 +59,6 @@ For detailed information about specific search types, see:
59
59
60
60
::: moniker range="azure-devops"
61
61
The following features apply to all searches, including work items, code, wikis, and packages.
62
-
::: moniker-end
63
-
::: moniker range="< azure-devops"
64
-
The following features apply to all searches, including work items, code, and packages.
65
-
::: moniker-end
66
-
67
62
| Search feature | Usage | Example |
68
63
|---|---|---|
69
64
|**Keyword**|Search based on one or more keywords|`validate` finds instances that contain the word *validate*|
@@ -93,13 +88,47 @@ The following features apply to all searches, including work items, code, and pa
93
88
- Search for any special character that isn't a part of the query language.|
94
89
- `"flatten()"` finds the literal string *flatten()*. Search for a literal occurrence of the double-quote character *"* by preceding it with the escape character `\` and enclosing the search string in double-quotes.<br>
95
90
- `"\"react-redux\""` finds the literal string "react-redux."|
96
-
::: moniker range="azure-devops"
97
91
|**Proximity**|
98
92
- Search for files based on vicinity using proximity operators: NEAR, BEFORE, and AFTER (must be uppercase).<br>
99
93
- By default, proximity search looks for terms within five tokens distance.|
100
94
- `term1 BEFORE term2` returns all files where term1 occurs BEFORE term2 within a distance of five tokens between them.<br>
101
95
- `term1 AFTER term2` returns the same results as term2 BEFORE term1.<br>
102
96
- `term1 NEAR term2` returns all files where term1 is within five token distance from term2 in any direction. `term1 NEAR term2` returns the same results as `term1 BEFORE term2` OR `term2 BEFORE term1`.|
97
+
98
+
::: moniker-end
99
+
100
+
::: moniker range="< azure-devops"
101
+
The following features apply to all searches, including work items, code, and packages.
102
+
103
+
| Search feature | Usage | Example |
104
+
|---|---|---|
105
+
|**Keyword**|Search based on one or more keywords|`validate` finds instances that contain the word *validate*|
106
+
|**Exact match**|Search based on an exact match, enclosed in double-quotes|`"Client not found"` finds instances that contain the exact phrase match *Client not found*. Search might not handle special characters as expected. Try escaping special characters or simplifying the search phrase|
107
+
|**Wildcard**|
108
+
- Add wildcard characters, `*` and `?`, to keywords to extend the search criteria.<br>
109
+
- Add `*` at the end of a keyword to find items that start with the keyword.<br>
110
+
- Add `?` in the middle to represent any alphanumeric character.<br>
111
+
- Use wildcard characters anywhere in your search string except as a prefix. You can use prefix wildcards with the other search filter functions.<br>
112
+
- You can use more than one wildcard to match more than one character.|
113
+
- `alpha?version` finds instances of alpha1version and alphaXversion.<br>
114
+
- `Browser*` finds instances of BrowserEdge, BrowserIE, and BrowserFirefox.<br>
115
+
- `CodeSenseHttp*` finds files containing words that start with *CodeSenseHttp*, such as CodeSenseHttpClient and CodeSenseHttpClientTest.| DevOps, across all your code, wiki, packages, and work items.|
116
+
|**Boolean operators**|
117
+
- Find two or more keywords using Boolean operators: `AND`, `OR`, and `NOT` (must be uppercase).<br>
118
+
- Add parenthesis to clauses to support logical groupings.<br>
119
+
- Because `AND` is the default operator, an entry of two keywords with no operator is the same as an `AND` search.<br>
120
+
- `Validate AND revisit` finds files that contain both the words *validate* and *revisit*.|
121
+
- `Validate OR revisit` finds files that contain either of the words *validate* or *revisit*.<br>
122
+
- `Validate NOT revisit` finds files that contain the word *validate* but not the word, *revisit*.<br>
123
+
- `(Validate NOT revisit) OR "release delayed"` finds files that contain the word *validate* but not the word, *revisit, or files that contain the phrase *release delayed*.|
124
+
|**Special characters**|
125
+
- Escape the special characters `(`, `)`, `[`, `]`, `:`, `*`, and `?` by enclosing them in a phrase delimited with double-quotes.<br>
126
+
- Include special characters in a search string, or search specifically for special characters, according to the following rules:<br>
127
+
- CodeA23?R finds files containing words that start with CodeA23<br>
128
+
- Have any alphanumeric character next, and end with R. For example, CodeA234R and CodeA23QR.<br>
129
+
- Search for any special character that isn't a part of the query language.|
130
+
- `"flatten()"` finds the literal string *flatten()*. Search for a literal occurrence of the double-quote character *"* by preceding it with the escape character `\` and enclosing the search string in double-quotes.<br>
131
+
- `"\"react-redux\""` finds the literal string "react-redux."|
103
132
::: moniker-end
104
133
105
134
## Search from different contexts
@@ -126,9 +155,7 @@ The following table shows other search tasks and where to find them:
126
155
127
156
| Search task | Action |
128
157
|---|---|
129
-
::: moniker range="azure-devops"
130
158
|**Find an organization setting**| Go to your organization and select **Organization settings**. |
131
-
::: moniker-end
132
159
|**Find a project setting**| Go to your project and select **Project settings**. |
133
160
|**Find a user setting**| Go to your **User settings page**. |
134
161
|**Find a user**| Go to your organization and select **Organization settings** > **Users**, and then enter the name in the filter box. |
0 commit comments