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
+16-57Lines changed: 16 additions & 57 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -59,76 +59,35 @@ 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
+
64
+
::: moniker range="< azure-devops"
65
+
The following features apply to all searches, including work items, code, and packages.
66
+
::: moniker-end
67
+
68
+
::: moniker range="azure-devops"
69
+
62
70
| Search feature | Usage | Example |
63
71
|---|---|---|
64
72
|**Keyword**|Search based on one or more keywords|`validate` finds instances that contain the word *validate*|
65
73
|**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|
66
-
|**Wildcard**|
67
-
- Add wildcard characters, `*` and `?`, to keywords to extend the search criteria.<br>
68
-
- Add `*` at the end of a keyword to find items that start with the keyword.<br>
69
-
- Add `?` in the middle to represent any alphanumeric character.<br>
70
-
- Use wildcard characters anywhere in your search string except as a prefix. You can use prefix wildcards with the other search filter functions.<br>
71
-
- You can use more than one wildcard to match more than one character.|
72
-
- `alpha?version` finds instances of alpha1version and alphaXversion.<br>
73
-
- `Browser*` finds instances of BrowserEdge, BrowserIE, and BrowserFirefox.<br>
74
-
- `CodeSenseHttp*` finds files containing words that start with *CodeSenseHttp*, such as CodeSenseHttpClient and CodeSenseHttpClientTest.| DevOps, across all your code, wiki, packages, and work items.|
75
-
|**Boolean operators**|
76
-
- Find two or more keywords using Boolean operators: `AND`, `OR`, and `NOT` (must be uppercase).<br>
77
-
- Add parenthesis to clauses to support logical groupings.<br>
78
-
- Because `AND` is the default operator, an entry of two keywords with no operator is the same as an `AND` search.<br>
79
-
- `Validate AND revisit` finds files that contain both the words *validate* and *revisit*.|
80
-
- `Validate OR revisit` finds files that contain either of the words *validate* or *revisit*.<br>
81
-
- `Validate NOT revisit` finds files that contain the word *validate* but not the word, *revisit*.<br>
82
-
- `(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*.|
83
-
|**Special characters**|
84
-
- Escape the special characters `(`, `)`, `[`, `]`, `:`, `*`, and `?` by enclosing them in a phrase delimited with double-quotes.<br>
85
-
- Include special characters in a search string, or search specifically for special characters, according to the following rules:<br>
86
-
- CodeA23?R finds files containing words that start with CodeA23<br>
87
-
- Have any alphanumeric character next, and end with R. For example, CodeA234R and CodeA23QR.<br>
88
-
- Search for any special character that isn't a part of the query language.|
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>
90
-
- `"\"react-redux\""` finds the literal string "react-redux."|
91
-
|**Proximity**|
92
-
- Search for files based on vicinity using proximity operators: NEAR, BEFORE, and AFTER (must be uppercase).<br>
93
-
- By default, proximity search looks for terms within five tokens distance.|
94
-
- `term1 BEFORE term2` returns all files where term1 occurs BEFORE term2 within a distance of five tokens between them.<br>
95
-
- `term1 AFTER term2` returns the same results as term2 BEFORE term1.<br>
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`.|
74
+
|**Wildcard**|- Add wildcard characters, `*` and `?`, to keywords to extend the search criteria.<br>- Add `*` at the end of a keyword to find items that start with the keyword.<br>- Add `?` in the middle to represent any alphanumeric character.<br>- Use wildcard characters anywhere in your search string except as a prefix. You can use prefix wildcards with the other search filter functions.<br>- You can use more than one wildcard to match more than one character.|- `alpha?version` finds instances of alpha1version and alphaXversion.<br>- `Browser*` finds instances of BrowserEdge, BrowserIE, and BrowserFirefox.<br>- `CodeSenseHttp*` finds files containing words that start with *CodeSenseHttp*, such as CodeSenseHttpClient and CodeSenseHttpClientTest.| DevOps, across all your code, wiki, packages, and work items.|
75
+
|**Boolean operators**|- Find two or more keywords using Boolean operators: `AND`, `OR`, and `NOT` (must be uppercase).<br>- Add parenthesis to clauses to support logical groupings.<br>- Because `AND` is the default operator, an entry of two keywords with no operator is the same as an `AND` search.<br>- `Validate AND revisit` finds files that contain both the words *validate* and *revisit*.|- `Validate OR revisit` finds files that contain either of the words *validate* or *revisit*.<br>- `Validate NOT revisit` finds files that contain the word *validate* but not the word, *revisit*.<br>- `(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*.|
76
+
|**Special characters**|- Escape the special characters `(`, `)`, `[`, `]`, `:`, `*`, and `?` by enclosing them in a phrase delimited with double-quotes.<br>- Include special characters in a search string, or search specifically for special characters, according to the following rules:<br>- CodeA23?R finds files containing words that start with CodeA23<br>- Have any alphanumeric character next, and end with R. For example, CodeA234R and CodeA23QR.<br>- Search for any special character that isn't a part of the query language.|- `"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>- `"\"react-redux\""` finds the literal string "react-redux."|
77
+
|**Proximity**|- Search for files based on vicinity using proximity operators: NEAR, BEFORE, and AFTER (must be uppercase).<br>- By default, proximity search looks for terms within five tokens distance.|- `term1 BEFORE term2` returns all files where term1 occurs BEFORE term2 within a distance of five tokens between them.<br>- `term1 AFTER term2` returns the same results as term2 BEFORE term1.<br>- `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
78
98
79
::: moniker-end
99
80
100
81
::: moniker range="< azure-devops"
101
-
The following features apply to all searches, including work items, code, and packages.
102
82
103
83
| Search feature | Usage | Example |
104
84
|---|---|---|
105
85
|**Keyword**|Search based on one or more keywords|`validate` finds instances that contain the word *validate*|
106
86
|**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."|
87
+
|**Wildcard**|- Add wildcard characters, `*` and `?`, to keywords to extend the search criteria.<br>- Add `*` at the end of a keyword to find items that start with the keyword.<br>- Add `?` in the middle to represent any alphanumeric character.<br>- Use wildcard characters anywhere in your search string except as a prefix. You can use prefix wildcards with the other search filter functions.<br>- You can use more than one wildcard to match more than one character.|- `alpha?version` finds instances of alpha1version and alphaXversion.<br>- `Browser*` finds instances of BrowserEdge, BrowserIE, and BrowserFirefox.<br>- `CodeSenseHttp*` finds files containing words that start with *CodeSenseHttp*, such as CodeSenseHttpClient and CodeSenseHttpClientTest.| DevOps, across all your code, wiki, packages, and work items.|
88
+
|**Boolean operators**|- Find two or more keywords using Boolean operators: `AND`, `OR`, and `NOT` (must be uppercase).<br>- Add parenthesis to clauses to support logical groupings.<br>- Because `AND` is the default operator, an entry of two keywords with no operator is the same as an `AND` search.<br>- `Validate AND revisit` finds files that contain both the words *validate* and *revisit*.|- `Validate OR revisit` finds files that contain either of the words *validate* or *revisit*.<br>- `Validate NOT revisit` finds files that contain the word *validate* but not the word, *revisit*.<br>- `(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*.|
89
+
|**Special characters**|- Escape the special characters `(`, `)`, `[`, `]`, `:`, `*`, and `?` by enclosing them in a phrase delimited with double-quotes.<br>- Include special characters in a search string, or search specifically for special characters, according to the following rules:<br>- CodeA23?R finds files containing words that start with CodeA23<br>- Have any alphanumeric character next, and end with R. For example, CodeA234R and CodeA23QR.<br>- Search for any special character that isn't a part of the query language.|- `"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>- `"\"react-redux\""` finds the literal string "react-redux."|
0 commit comments