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/documentdb/quickstart-dotnet-vector-search.md
+25-25Lines changed: 25 additions & 25 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ ms.author: alexwolf
7
7
ms.reviewer: khelanmodi
8
8
ms.devlang: csharp
9
9
ms.topic: quickstart-sdk
10
-
ms.date: 10/23/2025
10
+
ms.date: 02/12/2026
11
11
ms.custom:
12
12
- devx-track-dotnet
13
13
- devx-track-dotnet-ai
@@ -19,7 +19,7 @@ ms.custom:
19
19
20
20
Learn to use vector search in Azure DocumentDB with the .NET MongoDB driver to store and query vector data efficiently.
21
21
22
-
This quickstart provides a guided tour of key vector search techniques using a [.NET sample app](https://github.com/Azure-Samples/cosmos-db-vector-samples/tree/main/mongo-vcore-vector-search-dotnet) on GitHub.
22
+
This quickstart provides a guided tour of key vector search techniques using a [.NET sample app](https://github.com/Azure-Samples/documentdb-samples/tree/main/ai/vector-search-dotnet) on GitHub.
23
23
24
24
The app uses a sample hotel dataset in a JSON file with pre-calculated vectors from the `text-embedding-ada-002` model, though you can also generate the vectors yourself. The hotel data includes hotel names, locations, descriptions, and vector embeddings.
25
25
@@ -49,7 +49,7 @@ Complete the following steps to configure the app with your own values and run s
49
49
50
50
Update the `appsettings.json` placeholder values with your own:
@@ -93,7 +93,7 @@ The sample app populates vectorized sample data in a MongoDB collection and lets
93
93
The app prints a menu for you to selectdatabase and search options:
94
94
95
95
```output
96
-
=== Cosmos DB Vector Samples Menu ===
96
+
=== DocumentDB Vector Samples Menu ===
97
97
Please enter your choice (0-5):
98
98
1. Create embeddings for data
99
99
2. Show all database indexes
@@ -124,11 +124,11 @@ The sample app populates vectorized sample data in a MongoDB collection and lets
124
124
Executing DiskANN vector search for top 5 results
125
125
126
126
Search Results (5 found using DiskANN):
127
-
1. Roach Motel (Similarity: 0.8399)
128
-
2. Royal Cottage Resort (Similarity: 0.8385)
129
-
3. Economy Universe Motel (Similarity: 0.8360)
130
-
4. Foot Happy Suites (Similarity: 0.8354)
131
-
5. Country Comfort Inn (Similarity: 0.8346)
127
+
1. Royal Cottage Resort (Similarity: 0.4991)
128
+
2. Country Comfort Inn (Similarity: 0.4786)
129
+
3. Nordick's Valley Motel (Similarity: 0.4635)
130
+
4. Economy Universe Motel (Similarity: 0.4461)
131
+
5. Roach Motel (Similarity: 0.4388)
132
132
```
133
133
134
134
#### [IVF](#tab/tab-ivf)
@@ -142,7 +142,7 @@ The sample app populates vectorized sample data in a MongoDB collection and lets
142
142
The app prints a menu for you to select database and search options:
143
143
144
144
```output
145
-
=== Cosmos DB Vector Samples Menu ===
145
+
=== DocumentDB Vector Samples Menu ===
146
146
Please enter your choice (0-5):
147
147
1. Create embeddings for data
148
148
2. Show all database indexes
@@ -173,11 +173,11 @@ The sample app populates vectorized sample data in a MongoDB collection and lets
173
173
Executing IVF vector search for top 5 results
174
174
175
175
Search Results (5 found using IVF):
176
-
1. Roach Motel (Similarity: 0.8399)
177
-
2. Royal Cottage Resort (Similarity: 0.8385)
178
-
3. Economy Universe Motel (Similarity: 0.8360)
179
-
4. Foot Happy Suites (Similarity: 0.8354)
180
-
5. Country Comfort Inn (Similarity: 0.8346)
176
+
1. Royal Cottage Resort (Similarity: 0.4991)
177
+
2. Country Comfort Inn (Similarity: 0.4786)
178
+
3. Nordick's Valley Motel (Similarity: 0.4635)
179
+
4. Economy Universe Motel (Similarity: 0.4461)
180
+
5. Roach Motel (Similarity: 0.4388)
181
181
```
182
182
183
183
#### [HNSW](#tab/tab-hnsw)
@@ -191,7 +191,7 @@ The sample app populates vectorized sample data in a MongoDB collection and lets
191
191
The app prints a menu for you to selectdatabase and search options:
192
192
193
193
```output
194
-
=== Cosmos DB Vector Samples Menu ===
194
+
=== DocumentDB Vector Samples Menu ===
195
195
Please enter your choice (0-5):
196
196
1. Create embeddings for data
197
197
2. Show all database indexes
@@ -222,24 +222,24 @@ The sample app populates vectorized sample data in a MongoDB collection and lets
222
222
Executing HNSW vector search for top 5 results
223
223
224
224
Search Results (5 found using HNSW):
225
-
1. Roach Motel (Similarity: 0.8399)
226
-
2. Royal Cottage Resort (Similarity: 0.8385)
227
-
3. Economy Universe Motel (Similarity: 0.8360)
228
-
4. Foot Happy Suites (Similarity: 0.8354)
229
-
5. Country Comfort Inn (Similarity: 0.8346)
225
+
1. Royal Cottage Resort (Similarity: 0.4991)
226
+
2. Country Comfort Inn (Similarity: 0.4786)
227
+
3. Nordick's Valley Motel (Similarity: 0.4635)
228
+
4. Economy Universe Motel (Similarity: 0.4461)
229
+
5. Roach Motel (Similarity: 0.4388)
230
230
```
231
231
232
-
----
232
+
---
233
233
234
234
## Explore the app code
235
235
236
-
The following sections provide details about the most important services and code in the sample app. [Visit the GitHub repo](https://github.com/Azure-Samples/cosmos-db-vector-samples/tree/main/mongo-vcore-vector-search-dotnet) to explore the full app code.
236
+
The following sections provide details about the most important services and code in the sample app. [Visit the GitHub repo](https://github.com/Azure-Samples/documentdb-samples/tree/main/ai/vector-search-dotnet) to explore the full app code.
237
237
238
238
### Explore the search service
239
239
240
240
The `VectorSearchService` orchestrates an end‑to‑end vector similarity search using IVF, HNSW, and DiskANN search techniques with Azure OpenAI embeddings.
In the preceding code, the `VectorSearchService` performs the following tasks:
245
245
@@ -254,7 +254,7 @@ In the preceding code, the `VectorSearchService` performs the following tasks:
254
254
255
255
The `MongoDbService` manages interactions with Azure DocumentDB to handle tasks like loading data, vector index creation, index listing, and bulk inserts for hotel vector search.
Copy file name to clipboardExpand all lines: articles/postgresql/compute-storage/concepts-storage-premium-ssd-v2.md
+8-4Lines changed: 8 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,12 +55,16 @@ To learn more, see [Compute options in Azure Database for PostgreSQL](concepts-c
55
55
56
56
## Supported features
57
57
58
-
SSDv2 now supports *High Availability, Geo Replicas, Geo Redundant Backups, Major Version Upgrade and, Geo DR* features for Azure Database for PostgreSQL – Flexible Server in all below supported regions.
58
+
SSDv2 now supports *High Availability, Geo-Redundant backups Geo Replicas, Major Version Upgrade and, Geo DR* features for Azure Database for PostgreSQL – Flexible Server in all below supported regions.
59
+
60
+
Australia Central 2*, Australia East, Australia South East, Brazil South*, Canada Central, Canada East, Central India*, Central US, China North 3**, East Asia, East US, East US 2, Germany West Central*, Indonesia Central*, Israel Central*, Italy North*, Japan East, Korea Central*, Mexico Central*, New Zealand North*, North Central US, North Europe, Norway East, Norway West, Poland Central*, South African North*, Southeast Asia, Sweden Central*, Switzerland North*, UAE North*, UK South, UK West, US Gov Virginia**, support US South Central US, West Central US, West Europe, West US, West US 2 and West US 3* regions.
61
+
62
+
> [!NOTE]
63
+
> 1.*** Indicates High availability and Geo-Redundant Backups are not supported in the region.
64
+
> 2.** Indicates Geo‑Redundant backups are currently unavailable in this region because one of the paired regions does not support native SSDv2 storage or the region does not have an Azure paired region.
65
+
> 3. If SSDv2 is unavailable in a region, disable the High Availability option to enable SSDv2 storage.
59
66
60
-
East Asia, Australia Central 2, Australia East, Australia South East, Brazil South, Canada Central, Canada East, Central India, Central US, China North 3, East US, East US 2, Germany West Central, Indonesia Central, Israel Central, Italy North, Japan East, Korea Central, Mexico Central, New Zealand North, North Central US, North Europe, Norway East, Norway West, Poland Central, South African North, Southeast Asia, Sweden Central, Switzerland North, UAE North, UK West, US South Central US, West Central US, West Europe, West US and West US 3 regions.
61
67
62
-
> [!NOTE]
63
-
> If SSDv2 is unavailable in a region, disable the High Availability option to enable SSDv2 storage.
0 commit comments