Skip to content

Commit 543f2ef

Browse files
committed
edits
1 parent 333fb10 commit 543f2ef

File tree

2 files changed

+19
-9
lines changed

2 files changed

+19
-9
lines changed

articles/search/search-how-to-create-search-index.md

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38,28 +38,38 @@ Finally, all service tiers have [index limits](search-limits-quotas-capacity.md#
3838

3939
## Allowed updates
4040

41-
A [Create Index](/rest/api/searchservice/create-index) operation creates the physical data structures (files and inverted indexes) on your search service. Your ability to update an existing index hinges on whether the modification invalidates those physical structures.
41+
A [Create Index](/rest/api/searchservice/create-index) operation creates physical data structures (files and inverted indexes) on your search service. Your ability to update an existing index is contingent upon whether the modification invalidates those physical structures. Most field attributes can't be changed once the field is created in your index.
4242

4343
To minimize churn in the design process, the following table describes which elements are fixed and flexible in the schema. Changing a fixed element requires an index rebuild, whereas flexible elements can be changed at any time without impacting the physical implementation.
4444

4545
| Element | Mutable |
4646
|---------|---------|
47-
| Name | No. Refer to [naming conventions](/rest/api/searchservice/naming-rules) when naming an index. |
47+
| Name | No |
4848
| Key | No |
4949
| Field names and types | No |
50-
| Field attributes (searchable, filterable, facetable, sortable) | No. You can add new fields at any time, but changing an existing field is not supported. |
51-
| Field attribute (retrievable) | Yes. You can change this attribute on an Update Index operation without incurring an index rebuild. |
50+
| Field attributes (searchable, filterable, facetable, sortable) | No |
51+
| Field attribute (retrievable) | Yes |
5252
| [Analyzer](search-analyzers.md) | You can add and modify custom analyzers in the index. Regarding analyzer assignments on string fields, you can only modify "searchAnalyzer". All other assignments and modifications require a rebuild. |
53-
| [Scoring profiles](index-add-scoring-profiles.md) | Yes. You can change scoring profiles at any time. |
53+
| [Scoring profiles](index-add-scoring-profiles.md) | Yes |
5454
| [Suggesters](index-add-suggesters.md) | No |
5555
| [cross-origin remote scripting (CORS)](search-what-is-an-index.md#corsoptions) | Yes |
56-
| [Encryption](search-security-manage-encryption-keys.md) | Yes. You can add encryption support to an index without having to rebuild it. |
56+
| [Encryption](search-security-manage-encryption-keys.md) | Yes |
5757

5858
[Synonym maps](search-synonyms.md) are not part of an index definition. Modifications to a synonym map have no impact on the physical search index.
5959

60+
## Schema checklist
61+
62+
+ Review [naming conventions](/rest/api/searchservice/naming-rules) so that index and field names conform to the naming rules.
63+
+ Review [supported data types](/rest/api/searchservice/supported-data-types). Data type will impact how the field is used. For example, numeric content is filterable but not full text searchable.
64+
+ Identify one field in the data source that will be used as the key field in your index.
65+
+ Identify which source fields have searchable content. If the content is text and verbose (phrases or longer), experiment with different analyzers to see how the text is tokenized.
66+
+ Identify which source fields can be used as filters. Numeric content and short text fields, particularly those with repeating values, are good choices. When working with filters, remember:
67+
+ Filterable fields can optionally be used in faceted navigation.
68+
+ Filterable fields are returned in arbitrary order, so consider making them sortable as well.
69+
6070
## Formulate a request
6171

62-
There are several ways to create a search index. We recommend the Azure portal or REST APIs for early development and proof-of-concept testing.
72+
When you are ready to create the index, there are several ways to move forward. We recommend the Azure portal or REST APIs for early development and proof-of-concept testing.
6373

6474
During development, plan on frequent rebuilds. Because physical structures are created in the service, [dropping and recreating indexes](search-howto-reindex.md) is necessary for most modifications. You might consider working with a subset of your data to make rebuilds go faster.
6575

@@ -68,7 +78,7 @@ During development, plan on frequent rebuilds. Because physical structures are c
6878
Index design through the portal enforces requirements and schema rules for specific data types, such as disallowing full text search capabilities on numeric fields. In the portal, there are two options for creating a search index:
6979

7080
+ **Add Index** is an embedded editor for specifying an index schema
71-
+ [**Import data*](search-import-data-portal.md) is a wizard
81+
+ [**Import data**](search-import-data-portal.md) is a wizard
7282

7383
The wizard packs in additional operations by also creating an indexer, data source, and loading data. If this is more than what you want, you should just use **Add Index** or another approach.
7484

articles/search/search-what-is-an-index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ ms.date: 11/08/2021
1515

1616
Cognitive Search stores searchable content used for full text and filtered queries in a *search index*. An index is defined by a schema and saved to the service, with data import following as a second step.
1717

18-
This article is an introduction to search indexes. Prefer to get started? See [Create a search index](search-hwo-to-create-search-index.md).
18+
This article is an introduction to search indexes. Prefer to get started? See [Create a search index](search-how-to-create-search-index.md).
1919

2020
## What's a search index?
2121

0 commit comments

Comments
 (0)