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/search/search-get-started-portal.md
+17-17Lines changed: 17 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
title: "Quickstart: Create a search index in the Azure portal"
3
3
titleSuffix: Azure Cognitive Search
4
-
description: Create, load, and query your first search index using the Import Data wizard in the Azure portal. This quickstart uses a fictitious hotel dataset for sample data.
4
+
description: Create, load, and query your first search index using the Import Data wizard in Azure portal. This quickstart uses a fictitious hotel dataset for sample data.
5
5
manager: nitinme
6
6
author: HeidiSteen
7
7
ms.author: heidist
@@ -12,7 +12,7 @@ ms.custom: mode-ui
12
12
---
13
13
# Quickstart: Create an Azure Cognitive Search index in the Azure portal
14
14
15
-
In this quickstart, you will create your first search index using the **Import data** wizard and a built-in sample data source consisting of fictitious hotel data. The wizard guides you through the creation of a search index (hotels-sample-index) so that you can write interesting queries within minutes.
15
+
In this quickstart, you'll create your first search index using the **Import data** wizard and a built-in sample data source consisting of fictitious hotel data. The wizard guides you through the creation of a search index (hotels-sample-index) so that you can write interesting queries within minutes.
16
16
17
17
Although you won't use the options in this quickstart, the wizard includes a page for AI enrichment so that you can extract text and structure from image files and unstructured text. For a similar walkthrough that includes AI enrichment, see [Quickstart: Create a skillset](cognitive-search-quickstart-blob.md).
18
18
@@ -28,9 +28,9 @@ Many customers start with the free service. The free tier is limited to three in
28
28
29
29
Check the service overview page to find out how many indexes, indexers, and data sources you already have.
30
30
31
-
:::image type="content" source="media/search-get-started-portal/tiles-indexers-datasources.png" alt-text="Lists of indexes, indexers, and datasources":::
31
+
:::image type="content" source="media/search-get-started-portal/tiles-indexers-datasources.png" alt-text="Screenshot of lists of indexes, indexers, and data sources in the service dashboard.":::
32
32
33
-
## Create an index and load data
33
+
## Create and load an index
34
34
35
35
Search queries iterate over an [*index*](search-what-is-an-index.md) that contains searchable data, metadata, and additional constructs that optimize certain search behaviors.
36
36
@@ -42,11 +42,11 @@ For this tutorial, we use a built-in sample dataset that can be crawled using an
42
42
43
43
1.[Find your search service](https://portal.azure.com/#blade/HubsExtension/BrowseResourceBlade/resourceType/Microsoft.Storage%2storageAccounts/) and on the Overview page, click **Import data** on the command bar to create and populate a search index.
44
44
45
-
:::image type="content" source="media/search-import-data-portal/import-data-cmd.png" alt-text="Screenshot of the Import data command" border="true":::
45
+
:::image type="content" source="media/search-import-data-portal/import-data-cmd.png" alt-text="Screenshot of the Import data command in the command bar." border="true":::
46
46
47
47
1. In the wizard, click **Connect to your data** > **Samples** > **hotels-sample**. This data source is built-in. If you were creating your own data source, you would need to specify a name, type, and connection information. Once created, it becomes an "existing data source" that can be reused in other import operations.
:::image type="content" source="media/search-get-started-portal/import-datasource-sample.png" alt-text="Screenshot of the select sample dataset page in the wizard.":::
50
50
51
51
1. Continue to the next page.
52
52
@@ -56,7 +56,7 @@ The wizard supports the creation of an [AI enrichment pipeline](cognitive-search
56
56
57
57
We'll skip this step for now, and move directly on to **Customize target index**.
:::image type="content" source="media/search-get-started-portal/skip-cog-skill-step.png" alt-text="Screenshot of the Skip cognitive skill button in the wizard.":::
60
60
61
61
> [!TIP]
62
62
> You can step through an AI-indexing example in a [quickstart](cognitive-search-quickstart-blob.md) or [tutorial](cognitive-search-tutorial-blob.md).
@@ -65,7 +65,7 @@ We'll skip this step for now, and move directly on to **Customize target index**
65
65
66
66
For the built-in hotels sample index, a default index schema is defined for you. With the exception of a few advanced filter examples, queries in the documentation and samples that target the hotel-samples index will run on this index definition:
:::image type="content" source="media/search-get-started-portal/hotelsindex.png" alt-text="Screenshot of the generated hotels index definition in the wizard.":::
69
69
70
70
Typically, in a code-based exercise, index creation is completed prior to loading data. The Import data wizard condenses these steps by generating a basic index for any data source it can crawl. Minimally, an index requires a name and a fields collection; one of the fields should be marked as the document key to uniquely identify each document. Additionally, you can specify language analyzers or suggesters if you want autocomplete or suggested queries.
71
71
@@ -94,31 +94,31 @@ This object defines an executable process. You could put it on recurring schedul
94
94
95
95
Click **Submit** to create and simultaneously run the indexer.
:::image type="content" source="media/search-get-started-portal/hotels-indexer.png" alt-text="Screenshot of the hotels indexer definition in the wizard.":::
98
98
99
99
## Monitor progress
100
100
101
101
The wizard should take you to the Indexers list where you can monitor progress. For self-navigation, go to the Overview page and click the **Indexers** tab.
102
102
103
103
It can take a few minutes for the portal to update the page, but you should see the newly created indexer in the list, with status indicating "in progress" or success, along with the number of documents indexed.
:::image type="content" source="media/search-get-started-portal/indexers-inprogress.png" alt-text="Screenshot of the indexer progress message in the wizard.":::
106
106
107
-
## View the index
107
+
## Check results
108
108
109
109
The service overview page provides links to the resources created in your Azure Cognitive Search service. To view the index you just created, click **Indexes** from the list of links.
110
110
111
111
Wait for the portal page to refresh. After a few minutes, you should see the index with a document count and storage size.
112
112
113
-
:::image type="content" source="media/search-get-started-portal/indexes-list.png" alt-text="Indexes list on the service dashboard":::
113
+
:::image type="content" source="media/search-get-started-portal/indexes-list.png" alt-text="Screenshot of the Indexes list on the service dashboard.":::
114
114
115
115
From this list, you can click on the *hotels-sample* index that you just created, view the index schema. and optionally add new fields.
116
116
117
117
The **Fields** tab shows the index schema. If you're writing queries and need to check whether a field is filterable or sortable, this tab shows you the attributes.
118
118
119
119
Scroll to the bottom of the list to enter a new field. While you can always create a new field, in most cases, you can't change existing fields. Existing fields have a physical representation in your search service and are thus non-modifiable, not even in code. To fundamentally change an existing field, create a new index, dropping the original.
120
120
121
-
:::image type="content" source="media/search-get-started-portal/sample-index-def.png" alt-text="sample index definition":::
121
+
:::image type="content" source="media/search-get-started-portal/sample-index-def.png" alt-text="Screenshot of the sample index definition in Azure portal.":::
122
122
123
123
Other constructs, such as scoring profiles and CORS options, can be added at any time.
124
124
@@ -132,17 +132,17 @@ You now have a search index that can be queried using [**Search explorer**](sear
132
132
133
133
1. Select **Search explorer** on the command bar.
134
134
135
-
:::image type="content" source="media/search-get-started-portal/search-explorer-cmd.png" alt-text="Search explorer command":::
135
+
:::image type="content" source="media/search-get-started-portal/search-explorer-cmd.png" alt-text="Screenshot of the Search Explorer command on the command bar.":::
136
136
137
137
1. From **Index**, choose "hotels-sample-index".
138
138
139
-
:::image type="content" source="media/search-get-started-portal/search-explorer-changeindex.png" alt-text="Index and API commands":::
139
+
:::image type="content" source="media/search-get-started-portal/search-explorer-changeindex.png" alt-text="Screenshot of the Index and API selection lists in Search Explorer.":::
140
140
141
141
1. In the search bar, paste in a query string from the examples below and select **Search**.
142
142
143
-
:::image type="content" source="media/search-get-started-portal/search-explorer-query-string-example.png" alt-text="Query string and search button":::
143
+
:::image type="content" source="media/search-get-started-portal/search-explorer-query-string-example.png" alt-text="Screenshot of the query string text field and search button in Search Explorer.":::
144
144
145
-
## Example queries
145
+
## Run more example queries
146
146
147
147
All of the queries in this section are designed for **Search Explorer** and the Hotels sample index. Results are returned as verbose JSON documents. All fields marked as "retrievable" in the index can appear in results. For more information about queries, see [Querying in Azure Cognitive Search](search-query-overview.md).
0 commit comments