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: articles/cosmos-db/index-overview.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -69,7 +69,7 @@ Azure Cosmos DB currently supports three types of indexes. You can configure the
69
69
70
70
### Range Index
71
71
72
-
**Range**index is based on an ordered tree-like structure. The range index type is used for:
72
+
**Range**indexes are based on an ordered tree-like structure. The range index type is used for:
73
73
74
74
- Equality queries:
75
75
@@ -169,15 +169,15 @@ Spatial indexes can be used on correctly formatted [GeoJSON](./sql-query-geospat
169
169
SELECT * FROM container c WHERE c.property1 = 'value' ORDER BY c.property1, c.property2
170
170
```
171
171
172
-
- Queries with a filter on two or more properties were at least one property is an equality filter
172
+
- Queries with a filter on two or more properties where at least one property is an equality filter
173
173
174
174
```sql
175
175
SELECT * FROM container c WHERE c.property1 = 'value' AND c.property2 > 'value'
176
176
```
177
177
178
178
As long as one filter predicate uses one of the index type, the query engine evaluates that first before scanning the rest. For example, if you have a SQL query such as`SELECT * FROM c WHERE c.firstName = "Andrew" and CONTAINS(c.lastName, "Liu")`
179
179
180
-
- The above query will first filter for entries where firstName ="Andrew" by using the index. It then pass all of the firstName ="Andrew" entries through a subsequent pipeline to evaluate the CONTAINS filter predicate.
180
+
- The above query will first filter for entries where firstName ="Andrew" by using the index. It then passes all of the firstName ="Andrew" entries through a subsequent pipeline to evaluate the CONTAINS filter predicate.
181
181
182
182
- You can speed up queries and avoid full container scans when using functions that perform a full scan like CONTAINS. You can add more filter predicates that use the index to speed up these queries. The order of filter clauses isn't important. The query engine figures out which predicates are more selective and run the query accordingly.
183
183
@@ -205,7 +205,7 @@ Here's a table that summarizes the different ways indexes are used in Azure Cosm
205
205
| Full index scan | Read distinct set of indexed valuesand load only matching items from the transactional data store | Contains, EndsWith, RegexMatch, LIKE | Increases linearly based on the cardinality of indexed properties | Increases based onnumber of items in query results |
206
206
| Full scan | Load all items from the transactional data store | Upper, Lower | N/A | Increases based onnumber of items in container |
207
207
208
-
When writing queries, you should use filter predicate that uses the index as efficiently as possible. For example, if either `StartsWith`or`Contains` would work for your use case, you should opt for `StartsWith` since it does a precise index scan instead of a full index scan.
208
+
When writing queries, you should use filter predicates that use the index as efficiently as possible. For example, if either `StartsWith`or`Contains` would work for your use case, you should opt for `StartsWith` since it does a precise index scan instead of a full index scan.
209
209
210
210
## Index usage details
211
211
@@ -356,9 +356,9 @@ To execute this query, the query engine must do an index seek on `headquarters/e
356
356
357
357
Queries with aggregate functions must rely exclusively on the index in order to use it.
358
358
359
-
In some cases, the index can return false positives. For example, when evaluating `Contains` on the index, the number of matches in the index may exceed the number of query results. The query engine loads all index matches, evaluate the filter on the loaded items, and return only the correct results.
359
+
In some cases, the index can return false positives. For example, when evaluating `Contains` on the index, the number of matches in the index may exceed the number of query results. The query engine loads all index matches, evaluates the filter on the loaded items, and returns only the correct results.
360
360
361
-
For most queries, loading false positive index matches don't have any noticeable effect on index utilization.
361
+
For most queries, loading false positive index matches doesn't have any noticeable effect on index utilization.
Copy file name to clipboardExpand all lines: articles/dev-box/dev-box-faq.yml
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -63,7 +63,7 @@ sections:
63
63
- question: Can I use a smart card, or other device that connects to my physical machine with Dev Box?
64
64
answer: Yes. Dev Box supports a broad range of devices that connect to the physical machine via remote desktop redirection. For more information, see [Compare the features of remote desktop clients - Redirections comparison](../virtual-desktop/compare-remote-desktop-clients.md#redirections-comparison)
65
65
66
-
- question: What if I use Linus as my development environment?
66
+
- question: What if I use Linux as my development environment?
67
67
answer: Microsoft Dev Box supports Windows Subsystem for Linux (WSL) for Linux scenarios. This enables users to use Linux environment alongside Windows tools. GitHub users who use VS Code for development can use GitHub Codespaces.
68
68
69
69
- name: Dev Box hibernation
@@ -75,7 +75,7 @@ sections:
75
75
- question: I enabled hibernation on a Dev Box definition, but my Dev Box definition reports that hibernation couldn't be enabled. # Question.
76
76
answer: |
77
77
- We recommend using the Visual Studio for Dev Box marketplace images, either directly, or as base images for generating your custom image.
78
-
- The Windows + OS optimizations image contain optimized power settings, and they can't be used with hibernation.
78
+
- The Windows + OS optimizations image contains optimized power settings, and they can't be used with hibernation.
79
79
- If you're using a custom Azure Compute Gallery image, enable hibernation on your Azure Compute Gallery image before enabling hibernation on your Dev Box definition.
80
80
- If hibernation can't be enabled on the definition even after you enable it on your gallery image, your custom image likely has a Windows configuration that prevents hibernation.
Copy file name to clipboardExpand all lines: articles/digital-twins/how-to-use-3d-scenes-studio.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,7 @@ To use 3D Scenes Studio, you'll need the following resources:
30
30
* Take note of the *URL* of your storage account to use later.
31
31
* A private container in the storage account. For instructions, see [Create a container](../storage/blobs/storage-quickstart-blobs-portal.md#create-a-container).
32
32
* Take note of the *name* of your storage container to use later.
33
-
**Storage Blob Data Owner* or *Storage Blob Data Contributor*access to your storage resources. You can grant required roles at either the storage account level or the container level. For instructions and more information about permissions to Azure storage, see [Assign an Azure role](../storage/blobs/assign-azure-role-data-access.md?tabs=portal#assign-an-azure-role).
33
+
**Storage Blob Data Owner* or *Storage Blob Data Contributor*and also at least *Reader* roles are needed to access your storage resources. You can grant required roles at either the storage account level or the container level. For instructions and more information about permissions to Azure storage, see [Assign an Azure role](../storage/blobs/assign-azure-role-data-access.md?tabs=portal#assign-an-azure-role).
34
34
* Configure CORS for your storage account (see details in the following sub-section).
|[Integrated security](user-information.md) with direct access to user authentication and role-based authorization data | ✔ | ✔ |
@@ -60,7 +60,7 @@ In addition to the Static Web Apps API [constraints](apis-overview.md#constraint
60
60
61
61
| Managed functions | Bring your own functions |
62
62
|---|---|
63
-
| <ul><li>Triggers are limited to [HTTP](../azure-functions/functions-bindings-http-webhook.md).</li><li>The Azure Functions app must either be in Node.js 12, Node.js 14, Node.js 16, Node.js 18 (public preview), .NET Core 3.1, .NET 6.0, Python 3.8, Python 3.9 or Python 3.10 .</li><li>Some application settings are managed by the service, therefore the following prefixes are reserved by the runtime:<ul><li>*APPSETTING\_, AZUREBLOBSTORAGE\_, AZUREFILESSTORAGE\_, AZURE_FUNCTION\_, CONTAINER\_, DIAGNOSTICS\_, DOCKER\_, FUNCTIONS\_, IDENTITY\_, MACHINEKEY\_, MAINSITE\_, MSDEPLOY\_, SCMSITE\_, SCM\_, WEBSITES\_, WEBSITE\_, WEBSOCKET\_, AzureWeb*</li></ul></li><li>Some application tags are internally used by the service. Therefore, the following tags are reserved:<ul><li> *AccountId, EnvironmentId, FunctionAppId*.</li></ul></li></ul> | <ul><li>You are responsible to manage the Functions app deployment.</li></ul> |
63
+
| <ul><li>Triggers and bindings are limited to [HTTP](../azure-functions/functions-bindings-http-webhook.md).</li><li>The Azure Functions app must either be in Node.js 12, Node.js 14, Node.js 16, Node.js 18 (public preview), .NET Core 3.1, .NET 6.0, Python 3.8, Python 3.9 or Python 3.10 .</li><li>Some application settings are managed by the service, therefore the following prefixes are reserved by the runtime:<ul><li>*APPSETTING\_, AZUREBLOBSTORAGE\_, AZUREFILESSTORAGE\_, AZURE_FUNCTION\_, CONTAINER\_, DIAGNOSTICS\_, DOCKER\_, FUNCTIONS\_, IDENTITY\_, MACHINEKEY\_, MAINSITE\_, MSDEPLOY\_, SCMSITE\_, SCM\_, WEBSITES\_, WEBSITE\_, WEBSOCKET\_, AzureWeb*</li></ul></li><li>Some application tags are internally used by the service. Therefore, the following tags are reserved:<ul><li> *AccountId, EnvironmentId, FunctionAppId*.</li></ul></li></ul> | <ul><li>You are responsible to manage the Functions app deployment.</li></ul> |
0 commit comments