Skip to content

Commit 5c3ae60

Browse files
committed
fixed a typo, reverted a file
1 parent 7a2a1b7 commit 5c3ae60

File tree

2 files changed

+6
-9
lines changed

2 files changed

+6
-9
lines changed

articles/search/index-sql-relational-data.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ The solution is to capture the room detail as nested JSON, and then insert the J
9494

9595
The following screenshot shows the resulting view, with the *Rooms* nvarchar field at the bottom. The *Rooms* field exists only in the HotelRooms view.
9696

97-
![HotelRooms view](media/index-sql-relational-data/hotelsrooms-view.png "Screenshot of the hoteRooms view.")
97+
![HotelRooms view](media/index-sql-relational-data/hotelsrooms-view.png "Screenshot of the HotelRooms view.")
9898

9999
1. Run `SELECT * FROM dbo.HotelRooms` to retrieve the row set. This query returns 50 rows, one per hotel, with associated room information as a JSON collection.
100100

articles/search/search-synapseml-cognitive-services.md

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@ In this section, create a cluster, install the `synapseml` library, and create a
7474
1. Select **Maven**.
7575

7676
1. In Coordinates, enter `com.microsoft.azure:synapseml_2.12:1.0.4`
77-
<!-- com.microsoft.azure:synapseml:0.9.3 -->
7877

7978
1. Select **Install**.
8079

@@ -94,9 +93,7 @@ In this section, create a cluster, install the `synapseml` library, and create a
9493

9594
Paste the following code into the first cell of your notebook.
9695

97-
Replace the placeholders with endpoints and access keys for each resource. Provide a name for a new search index. No other modifications are required, so run the code when you're ready.
98-
99-
The first execution also starts up the cluster. Wait several minutes for this task to complete.
96+
Replace the placeholders with endpoints and access keys for each resource. Provide a name for a new search index. No other modifications are required, so run the code when you're ready.
10097

10198
This code imports multiple packages and sets up access to the Azure resources used in this workflow.
10299

@@ -106,12 +103,12 @@ from pyspark.sql.functions import udf, trim, split, explode, col, monotonically_
106103
from pyspark.sql.types import StringType
107104
from synapse.ml.core.spark import FluentAPI
108105

109-
cognitive_services_key = "placeholder-azure-ai-multi-service-key"
110-
cognitive_services_region = "placeholder-auzre-ai-multi-service-account-region"
106+
cognitive_services_key = "placeholder-cognitive-services-multi-service-key"
107+
cognitive_services_region = "placeholder-cognitive-services-region"
111108

112109
search_service = "placeholder-search-service-name"
113-
search_key = "placeholder-search-service-adin-api-key"
114-
search_index = "placeholder-for-new-search-index-name"
110+
search_key = "placeholder-search-service-api-key"
111+
search_index = "placeholder-search-index-name"
115112
```
116113

117114
## Step 3: Load data into Spark

0 commit comments

Comments
 (0)