Skip to content

Commit a6d0cd8

Browse files
authored
Merge pull request #195061 from dereklegenzoff/update-alias
making fix to alias documentation
2 parents 418b631 + c389708 commit a6d0cd8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/search/search-how-to-alias.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Create an index alias
33
titleSuffix: Azure Cognitive Search
4-
description: Create an alias to define a secondary name that can be used to refer to an index for querying, indexing, and other operations.
4+
description: Create an alias to define a secondary name that can be used to refer to an index for querying and indexing.
55

66
author: dereklegenzoff
77
ms.author: delegenz
@@ -58,7 +58,7 @@ To create an alias in Visual Studio Code:
5858

5959
## Send requests
6060

61-
Once you've created your alias, you're ready to start using it. Aliases can be used for all [document operations](/rest/api/searchservice/document-operations) including querying, indexing, suggestions, and autocomplete.
61+
Once you've created your alias, you're ready to start using it. Aliases can be used for [querying](/rest/api/searchservice/search-documents) and [indexing](/rest/api/searchservice/addupdate-or-delete-documents).
6262

6363
In the query below, instead of sending the request to `hotel-samples-index`, you can instead send the request to `my-alias` and it will be routed accordingly.
6464

@@ -76,7 +76,7 @@ POST /indexes/my-alias/docs/search?api-version=2021-04-30-preview
7676
If you expect that you may need to make updates to your index definition for your production indexes, you should use an alias rather than the index name for requests in your client-side application. Scenarios that require you to create a new index are outlined under these [rebuild conditions](search-howto-reindex.md#rebuild-conditions).
7777

7878
> [!NOTE]
79-
> You can only use an alias with [document operations](/rest/api/searchservice/document-operations). Aliases can't be used to get or update an index definition, can't be used with the Analyze Text API, and can't be used as the `targetIndexName` on an indexer.
79+
> You can only use an alias for [querying](/rest/api/searchservice/search-documents) and [indexing](/rest/api/searchservice/addupdate-or-delete-documents). Aliases can't be used to get or update an index definition, can't be used with the Analyze Text API, and can't be used as the `targetIndexName` on an indexer.
8080
8181
## Swap indexes
8282

0 commit comments

Comments
 (0)