Skip to content

Commit 888cffd

Browse files
authored
Merge pull request #90371 from HeidiSteen/heidist-gh
Azure Search: customer case issue related to proto-typed indexes
2 parents eaaf0a6 + a71fe0d commit 888cffd

File tree

3 files changed

+80
-75
lines changed

3 files changed

+80
-75
lines changed

articles/search/search-create-index-portal.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
---
22
title: Create an Azure Search index in Azure portal - Azure Search
3-
description: Learn how to create an index for Azure Search using a built-in portal index designers.
3+
description: Learn how to create an index for Azure Search using a built-in portal index designer.
44
manager: nitinme
55
author: heidisteen
66
services: search
77
ms.service: search
88
ms.topic: conceptual
9-
ms.date: 02/16/2019
9+
ms.date: 10/02/2019
1010
ms.author: heidist
1111
---
1212
# Create an Azure Search index in the portal
1313

14-
Azure Search includes a built-in index designer in the portal useful for prototypes or creating a [search index](search-what-is-an-index.md) hosted on your Azure Search service. The tool is used for schema construction. When you save the definition, an empty index becomes fully expressed in Azure Search. How you load it with searchable data is up to you.
14+
Azure Search includes a built-in index designer in the portal useful for prototypes or creating a [search index](search-what-is-an-index.md) hosted on your Azure Search service. The tool is used for schema construction. When you save the definition, an empty index becomes fully expressed in Azure Search. How you load it with searchable content is up to you.
1515

16-
The index designer is only one approach for creating an index. Programmatically, you can create an index using the [.NET](search-create-index-dotnet.md) or [REST](search-create-index-rest-api.md) APIs.
16+
The index designer is only one approach for creating an index. Alternatively, you can both create and load an index using the [Import data wizard](search-get-started-portal.md). The wizard only works with indexes that it creates itself. Programmatically, you can create an index using the [.NET](search-create-index-dotnet.md) or [REST](search-create-index-rest-api.md) APIs.
1717

1818
## Start index designer
1919

@@ -35,15 +35,17 @@ Index composition includes a *Fields collection* that defines the searchable dat
3535

3636
1. Add fields to fully specify the documents you will upload, setting a [data type](https://docs.microsoft.com/rest/api/searchservice/supported-data-types) for each one. For example, if documents consist of a *hotel-id*, *hotel-name*, *address*, *city*, and *region*, create a corresponding field for each one in the index. Review the [design guidance in the section below](#design) for help with setting attributes.
3737

38-
2. Specify a *key* field of type Edm.String. Values for this field must uniquely identify each document. By default, the field is named *id* but you can rename it as long as the string satisfies [naming rules](https://docs.microsoft.com/rest/api/searchservice/Naming-rules). For example, if your fields collection includes *hotel-id*, you would choose that for your key. A key field is mandatory for every Azure Search index and it must be a string.
38+
1. If incoming data is hierarchical in nature, your schema should include [complex types](search-howto-complex-data-types.md) to represent the nested structures. The built-in sample data set, Hotels, illustrates complex types using an Address (contains multiple sub-fields) that has a one-to-one relationship with each hotel, and a Rooms complex collection, where multiple rooms are associated with each hotel.
3939

40-
3. Set attributes on each field. The index designer excludes any attributes that are invalid for the data type, but doesn't suggest what to include. Review the guidance in the next section to understand what the attributes are for.
40+
1. Specify a *key* field of type Edm.String. A key field is mandatory for every Azure Search index and it must be a string. Values for this field must uniquely identify each document. By default, the field is named *id* but you can rename it as long as the string satisfies [naming rules](https://docs.microsoft.com/rest/api/searchservice/Naming-rules). For example, if your fields collection includes *hotel-id*, you would choose that for your key.
41+
42+
1. Set attributes on each field. The index designer excludes any attributes that are invalid for the data type, but doesn't suggest what to include. Review the guidance in the next section to understand what the attributes are for.
4143

4244
Azure Search API documentation includes code examples featuring a simple *hotels* index. In the screenshot below, you can see the index definition, including the French language analyzer specified during index definition, which you can recreate as a practice exercise in the portal.
4345

4446
![Hotels demo index](media/search-create-index-portal/field-definitions.png "Hotels demo index")
4547

46-
4. When finished, click **Create** to save and create the index.
48+
1. When finished, click **Create** to save and create the index.
4749

4850
<a name="design"></a>
4951

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ ms.author: laobri
1919
> * [Python](search-get-started-python.md)
2020
> * [C#](search-get-started-dotnet.md)
2121
22-
For a fast ramp up on Azure Search concepts, try the built-in tools in the Azure portal. Wizards and editors do not offer full parity with the .NET and REST APIs, but you can get started quickly with a code-free introduction, writing interesting queries against a sample data within minutes.
22+
For a fast ramp up on Azure Search concepts, try the built-in tools in the Azure portal. Wizards and editors do not offer full parity with the .NET and REST APIs, but you can get started quickly with a code-free introduction, writing interesting queries against an index within minutes.
2323

2424
> [!div class="checklist"]
2525
> * Start with a free public sample data set hosted on Azure
@@ -48,7 +48,7 @@ Sections on the service dashboard show how many indexes, indexers, and data sour
4848

4949
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.
5050

51-
For this tutorial, we use a built-in sample dataset that can be crawled using an [*indexer*](search-indexer-overview.md) via the **Import data** wizard. An indexer is a source-specific crawler that can read metadata and content from supported Azure data sources. Normally, indexers are used programmatically, but in the portal, you can access them through the **Import data** wizard.
51+
For this tutorial, we use a built-in sample dataset that can be crawled using an [*indexer*](search-indexer-overview.md) via the [**Import data** wizard](search-import-data-portal.md). An indexer is a source-specific crawler that can read metadata and content from supported Azure data sources. Normally, indexers are used programmatically, but in the portal, you can access them through the **Import data** wizard.
5252

5353
### Step 1 - Start the Import data wizard and create a data source
5454

0 commit comments

Comments
 (0)