Skip to content

Commit 51dab15

Browse files
authored
Merge pull request #280211 from MicrosoftDocs/main
Publish to Live Monday 4AM PST 7/8
2 parents b0a3ea0 + 0381a49 commit 51dab15

File tree

311 files changed

+7191
-6859
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

311 files changed

+7191
-6859
lines changed

.openpublishing.redirection.defender-for-cloud.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,25 @@
11
{
22
"redirections": [
3+
{
4+
"source_path_from_root": "/articles/defender-for-cloud/recommendations-reference.md",
5+
"redirect_url": "/azure/defender-for-cloud/security-policy-concept",
6+
"redirect_document_id": false
7+
},
8+
{
9+
"source_path_from_root": "/articles/defender-for-cloud/recommendations-reference-gcp.md",
10+
"redirect_url": "/azure/defender-for-cloud/security-policy-concept",
11+
"redirect_document_id": false
12+
},
13+
{
14+
"source_path_from_root": "/articles/defender-for-cloud/recommendations-reference-aws.md",
15+
"redirect_url": "/azure/defender-for-cloud/security-policy-concept",
16+
"redirect_document_id": false
17+
},
18+
{
19+
"source_path_from_root": "/articles/defender-for-cloud/upcoming-changes.md",
20+
"redirect_url": "/azure/defender-for-cloud/release-notes",
21+
"redirect_document_id": false
22+
},
323
{
424
"source_path_from_root": "/articles/defender-for-cloud/secret-scanning.md",
525
"redirect_url": "/azure/defender-for-cloud/secrets-scanning-servers",

articles/backup/encryption-at-rest-with-cmk-for-backup-vault.md

Lines changed: 252 additions & 21 deletions
Large diffs are not rendered by default.
-3.1 KB
Loading
-2.18 KB
Loading
-694 Bytes
Loading

articles/cosmos-db/.openpublishing.redirection.cosmos-db.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@
55
"redirect_url": "/azure/cosmos-db/container-copy",
66
"redirect_document_id": true
77
},
8+
{
9+
"source_path_from_root": "/articles/cosmos-db/nosql/how-to-javascript-vector-index-query.md",
10+
"redirect_url": "/azure/cosmos-db/nosql",
11+
"redirect_document_id": false
12+
},
813
{
914
"source_path_from_root": "/articles/cosmos-db/account-databases-containers-items.md",
1015
"redirect_url": "/azure/cosmos-db/resource-model",
@@ -5801,4 +5806,4 @@
58015806
"redirect_document_id": true
58025807
}
58035808
]
5804-
}
5809+
}

articles/cosmos-db/access-key-vault-managed-identity.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,13 @@ ms.date: 06/01/2022
1010
ms.reviewer: thweiss
1111
---
1212

13+
1314
# Access Azure Key Vault from Azure Cosmos DB using a managed identity
1415
[!INCLUDE[NoSQL, MongoDB, Cassandra, Gremlin, Table](includes/appliesto-nosql-mongodb-cassandra-gremlin-table.md)]
1516

1617
Azure Cosmos DB may need to read secret/key data from Azure Key Vault. For example, your Azure Cosmos DB may require a customer-managed key stored in Azure Key Vault. To do this, Azure Cosmos DB should be configured with a managed identity, and then an Azure Key Vault access policy should grant the managed identity access.
1718

19+
1820
## Prerequisites
1921

2022
- An Azure account with an active subscription. [Create an account for free](https://azure.microsoft.com/free/?WT.mc_id=A261C142F).

articles/cosmos-db/nosql/TOC.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -490,8 +490,6 @@
490490
href: how-to-dotnet-vector-index-query.md
491491
- name: Python
492492
href: how-to-python-vector-index-query.md
493-
- name: JavaScript
494-
href: how-to-javascript-vector-index-query.md
495493
- name: Java
496494
href: how-to-java-vector-index-query.md
497495
- name: Access preview features

articles/cosmos-db/nosql/how-to-javascript-vector-index-query.md

Lines changed: 0 additions & 160 deletions
This file was deleted.

articles/cosmos-db/nosql/vector-search.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ ms.date: 5/7/2024
1818

1919
[!INCLUDE[NoSQL](../includes/appliesto-nosql.md)]
2020

21-
Azure Cosmos DB for NoSQL now offers vector indexing and search in preview. This feature is designed to handle high-dimensional vectors, enabling efficient and accurate vector search at any scale. You can now store vectors directly in the documents alongside your data. This means that each document in your database can contain not only traditional schema-free data, but also high-dimensional vectors as other properties of the documents. This colocation of data and vectors allows for efficient indexing and searching, as the vectors are stored in the same logical unit as the data they represent. This simplifies data management, AI application architectures, and the efficiency of vector-based operations.
21+
Azure Cosmos DB for NoSQL now offers vector indexing and search in preview. This feature is designed to handle high-dimensional vectors, enabling efficient and accurate vector search at any scale. You can now store vectors directly in the documents alongside your data. Each document in your database can contain not only traditional schema-free data, but also high-dimensional vectors as other properties of the documents. This colocation of data and vectors allows for efficient indexing and searching, as the vectors are stored in the same logical unit as the data they represent. Keeping vectors and data together simplifies data management, AI application architectures, and the efficiency of vector-based operations.
2222

2323
Azure Cosmos DB for NoSQL offers the flexibility it offers in choosing the vector indexing method:
2424
- A "flat" or k-nearest neighbors exact search (sometimes called brute-force) can provide 100% retrieval recall for smaller, focused vector searches. especially when combined with query filters and partition-keys.
@@ -43,7 +43,7 @@ In a vector store, vector search algorithms are used to index and query embeddin
4343
In the Integrated Vector Database in Azure Cosmos DB for NoSQL, embeddings can be stored, indexed, and queried alongside the original data. This approach eliminates the extra cost of replicating data in a separate pure vector database. Moreover, this architecture keeps the vector embeddings and original data together, which better facilitates multi-modal data operations, and enables greater data consistency, scale, and performance.
4444

4545
## Enroll in the Vector Search Preview Feature
46-
Vector search for Azure Cosmos DB for NoSQL requires preview feature registration on the Features page of your Azure Cosmos DB . Follow the below steps to register:
46+
Vector search for Azure Cosmos DB for NoSQL requires preview feature registration on the Features page of your Azure Cosmos DB. Follow the below steps to register:
4747

4848
1. Navigate to your Azure Cosmos DB for NoSQL resource page.
4949

@@ -83,7 +83,7 @@ Performing vector search with Azure Cosmos DB for NoSQL requires you to define a
8383
* “dimensions”: The dimensionality or length of each vector in the path. All vectors in a path should have the same number of dimensions. (default 1536).
8484
* “distanceFunction”: The metric used to compute distance/similarity. Supported metrics are:
8585
* [cosine](https://en.wikipedia.org/wiki/Cosine_similarity), which has values from -1 (least similar) to +1 (most similar).
86-
* [dotproduct](https://en.wikipedia.org/wiki/Dot_product), which has values from -inf (least simialr) to +inf (most similar).
86+
* [dot product](https://en.wikipedia.org/wiki/Dot_product), which has values from -inf (least similar) to +inf (most similar).
8787
* [euclidean](https://en.wikipedia.org/wiki/Euclidean_distance), which has values from 0 (most similar) to +inf) (least similar).
8888
8989
@@ -203,7 +203,7 @@ Here are examples of valid vector index policies:
203203
204204
## Perform vector search with queries using VectorDistance()
205205

206-
Once you have created a container with the desired vector policy, and inserted vector data into the container, you can conduct a vector search using the [Vector Distance](query/vectordistance.md) system function in a query. An example of a NoSQL query that projects the similarity score as the alias `SimilarityScore`, and sorts in order of most-similar to least-similar is shown below:
206+
Once you created a container with the desired vector policy, and inserted vector data into the container, you can conduct a vector search using the [Vector Distance](query/vectordistance.md) system function in a query. An example of a NoSQL query that projects the similarity score as the alias `SimilarityScore`, and sorts in order of most-similar to least-similar:
207207

208208
```sql
209209
SELECT c.title, VectorDistance(c.contentVector, [1,2,3]) AS SimilarityScore  
@@ -217,15 +217,14 @@ Vector indexing and search in Azure Cosmos DB for NoSQL has some limitations whi
217217
- You can specify, at most, one DiskANN index type per container
218218
- Vector indexing is only supported on new containers.
219219
- Vectors indexed with the `flat` index type can be at most 505 dimensions. Vectors indexed with the `quantizedFlat` or `DiskANN` index type can be at most 4,096 dimensions.
220-
- `quantizedFlat` utilizes the same quantization method as DiskANN and is not configurable at this time.
220+
- `quantizedFlat` utilizes the same quantization method as DiskANN and isn't configurable at this time.
221221
- Shared throughput databases can't use the vector search preview feature at this time.
222222
- Ingestion rate should be limited while using an early preview of DiskANN.
223223

224224
## Next step
225225
- [DiskANN + Azure Cosmos DB - Microsoft Mechanics Video](https://www.youtube.com/watch?v=MlMPIYONvfQ)
226226
- [.NET - How-to Index and query vector data](how-to-dotnet-vector-index-query.md)
227227
- [Python - How-to Index and query vector data](how-to-python-vector-index-query.md)
228-
- [JavaScript - How-to Index and query vector data](how-to-javascript-vector-index-query.md)
229228
- [Java - How-to Index and query vector data](how-to-java-vector-index-query.md)
230229
- [VectorDistance system function](query/vectordistance.md)
231230
- [Vector index overview](../index-overview.md#vector-indexes)

0 commit comments

Comments
 (0)