Skip to content

Commit b56073a

Browse files
Merge pull request #280061 from HeidiSteen/heidist-june28
syntax bug on a token example
2 parents 1092662 + 218699b commit b56073a

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

articles/search/search-howto-reindex.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ GET {{baseUrl}}/indexes/hotels-vector-quickstart/docs('1')?api-version=2023-11-
8585

8686
## Change an index schema
8787

88-
The index schema defines the physical data structures created on the search service, so there aren't many schema changes that you can make without incurring a full rebuild. The following list enumerates the schema changes that can be introduced seamlessly into an existing index. Generally, the list includes new fields and functionality used during query executions.
88+
The index schema defines the physical data structures created on the search service, so there aren't many schema changes that you can make without incurring a full rebuild. The following list enumerates the schema changes that can be introduced seamlessly into an existing index. Generally, the list includes new fields and functionality used during query execution.
8989

9090
+ Add a new field
9191
+ Set the `retrievable` attribute on an existing field
@@ -102,9 +102,9 @@ The order of operations is:
102102

103103
1. Revise the schema with updates from the previous list.
104104

105-
1. [Update index](/rest/api/searchservice/indexes/create-or-update).
105+
1. [Update index schema](/rest/api/searchservice/indexes/create-or-update) on the search service.
106106

107-
1. [Index documents](/rest/api/searchservice/documents).
107+
1. [Update index content](#update-content) to match your revised schema if you added a new field. For all other changes, the existing content is used as-is.
108108

109109
When you update the index schema, existing documents in the index are given a null value for the new field. On the next index documents job, values from external source data replace the nulls added by Azure AI Search.
110110

@@ -131,9 +131,9 @@ The order of operations is:
131131

132132
1. [Drop the existing index](/rest/api/searchservice/indexes/delete). queries targeting the index are immediately dropped. Remember that deleting an index is irreversible, destroying physical storage for the fields collection and other constructs.
133133

134-
1. [Post a revised index](/rest/api/searchservice/indexes/create), where the body of the request includes changed or modified field definitions.
134+
1. [Post a revised index](/rest/api/searchservice/indexes/create), where the body of the request includes changed or modified field definitions and configurations.
135135

136-
1. [Load the index with documents](/rest/api/searchservice/documents) from an external source.
136+
1. [Load the index with documents](/rest/api/searchservice/documents) from an external source. Documents are indexed using the field definitions and configurations of the new schema.
137137

138138
When you create the index, physical storage is allocated for each field in the index schema, with an inverted index created for each searchable field and a vector index created for each vector field. Fields that aren't searchable can be used in filters or expressions, but don't have inverted indexes and aren't full-text or fuzzy searchable. On an index rebuild, these inverted indexes and vector indexes are deleted and recreated based on the index schema you provide.
139139

articles/search/search-manage-rest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ You can only regenerate one admin API key at a time.
291291
### Regnerate admin keys
292292
POST https://management.azure.com/subscriptions/{{subscriptionId}}/resourcegroups/{{resource-group}}/providers/Microsoft.Search/searchServices/{{search-service-name}}/regenerateAdminKey/primary?api-version=2023-11-01 HTTP/1.1
293293
Content-type: application/json
294-
Authorization: Bearer
294+
Authorization: Bearer {{token}}
295295
```
296296

297297
## Create query API keys

0 commit comments

Comments
 (0)