Skip to content

Commit 71ba02d

Browse files
author
Craig Casey
authored
Update UI interaction terms
Per https://mseng.visualstudio.com/TechnicalContent/_workitems/edit/1556052, updating UI interaction terminology in conceptual content linked from Java dev center.
1 parent 9fab2d9 commit 71ba02d

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

articles/search/search-get-started-java.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ The following list describes the files that are relevant to this sample.
5454
All REST API calls into Azure Search require that you provide the service URL and an `api-key`.
5555

5656
1. Sign in to the [Azure portal](https://portal.azure.com).
57-
2. In the jump bar, click **Search service** to list all of the Azure Search services provisioned for your subscription.
57+
2. In the jump bar, select **Search service** to list all of the Azure Search services provisioned for your subscription.
5858
3. Select the service you want to use.
5959
4. On the service dashboard, you'll see tiles for essential information as well as the key icon for accessing the admin keys.
6060

@@ -63,20 +63,20 @@ All REST API calls into Azure Search require that you provide the service URL an
6363

6464
## Download the sample files
6565
1. Go to [search-java-indexer-demo](https://github.com/Azure-Samples/search-java-indexer-demo) on GitHub.
66-
2. Click **Download ZIP**, save the .zip file to disk, and then extract all the files it contains. Consider extracting the files into your Java workspace to make it easier to find the project later.
66+
2. Select **Download ZIP**, save the .zip file to disk, and then extract all the files it contains. Consider extracting the files into your Java workspace to make it easier to find the project later.
6767
3. The sample files are read-only. Right-click folder properties and clear the read-only attribute.
6868

6969
All subsequent file modifications and run statements will be made against files in this folder.
7070

7171
## Import project
72-
1. In Eclipse, choose **File** > **Import** > **General** > **Existing Projects into Workspace**.
72+
1. In Eclipse, select **File** > **Import** > **General** > **Existing Projects into Workspace**.
7373

7474
![Screenshot showing how to import an existing project][4]
7575
2. In **Select root directory**, browse to the folder containing sample files. Select the folder that contains the .project folder. The project should appear in the **Projects** list as a selected item.
7676

7777
![Screenshot showing the Projects list in the Import Projects window][12]
78-
3. Click **Finish**.
79-
4. Use **Project Explorer** to view and edit the files. If it's not already open, click **Window** > **Show View** > **Project Explorer** or use the shortcut to open it.
78+
3. Select **Finish**.
79+
4. Use **Project Explorer** to view and edit the files. If it's not already open, select **Window** > **Show View** > **Project Explorer** or use the shortcut to open it.
8080

8181
## Configure the service URL and `api-key`
8282
1. In **Project Explorer**, double-click **config.properties** to edit the configuration settings containing the server name and `api-key`.
@@ -90,19 +90,19 @@ All subsequent file modifications and run statements will be made against files
9090
2. Select **Dynamic Web Module**, **Java**, and **JavaScript**.
9191

9292
![Screenshot showing how to select the Project Facets for your project][6]
93-
3. Click **Apply**.
93+
3. Select **Apply**.
9494
4. Select **Window** > **Preferences** > **Server** > **Runtime Environments** > **Add..**.
9595
5. Expand Apache and select the version of the Apache Tomcat server you previously installed. On our system, we installed version 8.
9696

9797
![Screenshot showing where in the Runtime Environment window you can select your version of Apache Tomcat][7]
9898
6. On the next page, specify the Tomcat installation directory. On a Windows computer, this will most likely be C:\Program Files\Apache Software Foundation\Tomcat *version*.
99-
7. Click **Finish**.
99+
7. Select **Finish**.
100100
8. Select **Window** > **Preferences** > **Java** > **Installed JREs** > **Add**.
101101
9. In **Add JRE**, select **Standard VM**.
102-
10. Click **Next**.
103-
11. In JRE Definition, in JRE home, click **Directory**.
102+
10. Select **Next**.
103+
11. In JRE Definition, in JRE home, select **Directory**.
104104
12. Navigate to **Program Files** > **Java** and select the JDK you previously installed. It's important to select the JDK as the JRE.
105-
13. In Installed JREs, choose the **JDK**. Your settings should look similar to the following screenshot.
105+
13. In Installed JREs, select the **JDK**. Your settings should look similar to the following screenshot.
106106

107107
![Screenshot showing how to select JDK as the Installed JRE][9]
108108
14. Optionally, select **Window** > **Web Browser** > **Internet Explorer** to open the application in an external browser window. Using an external browser gives you a better Web application experience.
@@ -112,10 +112,10 @@ All subsequent file modifications and run statements will be made against files
112112
You have now completed the configuration tasks. Next, you'll build and run the project.
113113

114114
## Build the project
115-
1. In Project Explorer, right-click the project name and choose **Run As** > **Maven build...** to configure the project.
115+
1. In Project Explorer, right-click the project name and select **Run As** > **Maven build** to configure the project.
116116

117-
![Screenshot showing how to choose Maven build in the Project Explorer window][10]
118-
2. In Edit Configuration, in Goals, type "clean install", and then click **Run**.
117+
![Screenshot showing how to select Maven build in the Project Explorer window][10]
118+
2. In Edit Configuration, in Goals, enter "clean install", and then select **Run**.
119119

120120
Status messages are output to the console window. You should see BUILD SUCCESS indicating the project built without errors.
121121

@@ -125,19 +125,19 @@ In this last step, you will run the application in a local server runtime enviro
125125
If you haven't yet specified a server runtime environment in Eclipse, you'll need to do that first.
126126

127127
1. In Project Explorer, expand **WebContent**.
128-
2. Right-click **Search.jsp** > **Run As** > **Run on Server**. Select the Apache Tomcat server, and then click **Run**.
128+
2. Right-click **Search.jsp** > **Run As** > **Run on Server**. Select the Apache Tomcat server, and then select **Run**.
129129

130130
> [!TIP]
131-
> If you used a non-default workspace to store your project, you'll need to modify **Run Configuration** to point to the project location to avoid a server start-up error. In Project Explorer, right-click **Search.jsp** > **Run As** > **Run Configurations**. Select the Apache Tomcat server. Click **Arguments**. Click **Workspace** or **File System** to set the folder containing the project.
131+
> If you used a non-default workspace to store your project, you'll need to modify **Run Configuration** to point to the project location to avoid a server start-up error. In Project Explorer, right-click **Search.jsp** > **Run As** > **Run Configurations**. Select the Apache Tomcat server. Select **Arguments**. Select **Workspace** or **File System** to set the folder containing the project.
132132
>
133133
>
134134
135135
When you run the application, you should see a browser window, providing a search box for entering terms.
136136

137-
Wait about one minute before clicking **Search** to give the service time to create and load the index. If you get an HTTP 404 error, you just need to wait a little bit longer before trying again.
137+
Wait about one minute before selecting **Search** to give the service time to create and load the index. If you get an HTTP 404 error, you just need to wait a little bit longer before trying again.
138138

139139
## Search on USGS data
140-
The USGS data set includes records that are relevant to the state of Rhode Island. If you click **Search** on an empty search box, you will get the top 50 entries, which is the default.
140+
The USGS data set includes records that are relevant to the state of Rhode Island. If you select **Search** on an empty search box, you will get the top 50 entries, which is the default.
141141

142142
Entering a search term will give the search engine something to go on. Try entering a regional name. "Roger Williams" was the first governor of Rhode Island. Numerous parks, buildings, and schools are named after him.
143143

0 commit comments

Comments
 (0)