Skip to content

Commit 32b2ca5

Browse files
committed
table render fixes
1 parent 97591d9 commit 32b2ca5

File tree

1 file changed

+35
-8
lines changed

1 file changed

+35
-8
lines changed

docs/project/search/get-started-search.md

Lines changed: 35 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,6 @@ For detailed information about specific search types, see:
5959

6060
::: moniker range="azure-devops"
6161
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-
6762
| Search feature | Usage | Example |
6863
|---|---|---|
6964
|**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
9388
- Search for any special character that isn't a part of the query language.|
9489
- `"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>
9590
- `"\"react-redux\""` finds the literal string "react-redux."|
96-
::: moniker range="azure-devops"
9791
|**Proximity**|
9892
- Search for files based on vicinity using proximity operators: NEAR, BEFORE, and AFTER (must be uppercase).<br>
9993
- By default, proximity search looks for terms within five tokens distance.|
10094
- `term1 BEFORE term2` returns all files where term1 occurs BEFORE term2 within a distance of five tokens between them.<br>
10195
- `term1 AFTER term2` returns the same results as term2 BEFORE term1.<br>
10296
- `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."|
103132
::: moniker-end
104133

105134
## Search from different contexts
@@ -126,9 +155,7 @@ The following table shows other search tasks and where to find them:
126155

127156
| Search task | Action |
128157
|---|---|
129-
::: moniker range="azure-devops"
130158
| **Find an organization setting** | Go to your organization and select **Organization settings**. |
131-
::: moniker-end
132159
| **Find a project setting** | Go to your project and select **Project settings**. |
133160
| **Find a user setting** | Go to your **User settings page**. |
134161
| **Find a user** | Go to your organization and select **Organization settings** > **Users**, and then enter the name in the filter box. |

0 commit comments

Comments
 (0)