Skip to content

Commit 443c78b

Browse files
authored
Merge pull request #202786 from dereklegenzoff/alias-updates
updating alias docs to mention all document operations
2 parents c825118 + bf1dcd2 commit 443c78b

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 Azure Cognitive Search index alias to define a static secondary name that can be used for referencing a search index for querying and indexing.
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.
55

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

5858
## Send requests to an index alias
5959

60-
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).
60+
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.
6161

6262
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.
6363

@@ -75,7 +75,7 @@ POST /indexes/my-alias/docs/search?api-version=2021-04-30-preview
7575
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).
7676

7777
> [!NOTE]
78-
> 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.
78+
> 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.
7979
8080
## Swap indexes
8181

0 commit comments

Comments
 (0)