Skip to content

Commit 00fd7c1

Browse files
authored
Merge pull request #5670 from haileytap/full-text-qs
[Azure Search] Move REST and PowerShell to search-get-started-text.md
2 parents 8b45af0 + 9d80ee5 commit 00fd7c1

File tree

61 files changed

+848
-950
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+848
-950
lines changed

articles/search/.openpublishing.redirection.search.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -415,6 +415,16 @@
415415
"source_path_from_root": "/articles/search/tutorial-multimodal-index-image-verbalization-skill.md",
416416
"redirect_url": "/azure/search/tutorial-document-layout-image-verbalization",
417417
"redirect_document_id": true
418+
},
419+
{
420+
"source_path_from_root": "/articles/search/search-get-started-rest.md",
421+
"redirect_url": "/azure/search/search-get-started-text",
422+
"redirect_document_id": false
423+
},
424+
{
425+
"source_path_from_root": "/articles/search/search-get-started-powershell.md",
426+
"redirect_url": "/azure/search/search-get-started-text",
427+
"redirect_document_id": false
418428
}
419429
]
420430
}

articles/search/cognitive-search-tutorial-blob.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ For this tutorial, connections to Azure AI Search require an endpoint and an API
8787
8888
## Set up your REST file
8989
90-
1. Start Visual Studio Code and open the [skillset-tutorial.rest](https://github.com/Azure-Samples/azure-search-rest-samples/tree/main/skillset-tutorial) file. See [Quickstart: Text search using REST](search-get-started-rest.md) if you need help with the REST client.
90+
1. Start Visual Studio Code and open the [skillset-tutorial.rest](https://github.com/Azure-Samples/azure-search-rest-samples/tree/main/skillset-tutorial) file. See [Quickstart: Full-text search](search-get-started-text.md) if you need help with the REST client.
9191
9292
1. Provide values for the variables: search service endpoint, search service admin API key, an index name, a connection string to your Azure Storage account, and the blob container name.
9393

articles/search/includes/quickstarts/agentic-retrieval-setup.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ author: haileytap
44
ms.author: haileytapia
55
ms.service: azure-ai-search
66
ms.topic: include
7-
ms.date: 6/15/2025
7+
ms.date: 06/23/2025
88
---
99

1010
## Configure role-based access
1111

12-
You can use search service API keys or Microsoft Entra ID with role assignments. Keys are easier to start with, but roles are more secure. This quickstart assumes roles.
12+
You can use search service API keys or Microsoft Entra ID with role assignments. Keys are easier to start with, but roles are more secure.
1313

1414
To configure the recommended role-based access:
1515

@@ -25,17 +25,17 @@ To configure the recommended role-based access:
2525

2626
+ **Search Index Data Reader**
2727

28-
For agentic retrieval, Azure AI Search also needs access to your Azure OpenAI Foundry resource.
28+
For agentic retrieval, Azure AI Search also needs access to your Azure OpenAI Foundry resource.
2929

3030
1. [Create a system-assigned managed identity](../../search-howto-managed-identities-data-sources.md#create-a-system-managed-identity) on your Azure AI Search service. Here's how to do it using the Azure CLI:
3131

3232
```azurecli
3333
az search service update --name YOUR-SEARCH-SERVICE-NAME --resource-group YOUR-RESOURCE-GROUP-NAME --identity-type SystemAssigned
3434
```
35-
35+
3636
If you already have a managed identity, you can skip this step.
3737

38-
1. On your Azure AI Foundry resource, assign **Cognitive Services User** to the managed identity that you created for your search service.
38+
1. On your Azure AI Foundry resource, assign **Cognitive Services User** to the managed identity that you created for your search service.
3939

4040
## Deploy models
4141

@@ -63,7 +63,7 @@ To deploy the Azure OpenAI models:
6363

6464
## Get endpoints
6565

66-
In your code, you specify the following endpoints to establish connections with your Azure AI Search service and Azure AI Foundry resource. These steps assume that you [configured role-based access as described previously](#configure-role-based-access).
66+
In your code, you specify the following endpoints to establish connections with your Azure AI Search service and Azure AI Foundry resource. These steps assume that you [configured role-based access as described previously](#configure-role-based-access).
6767

6868
To obtain your service endpoints:
6969

@@ -73,11 +73,11 @@ To obtain your service endpoints:
7373

7474
1. From the left pane, select **Overview**.
7575

76-
1. Copy the URL, which should be similar to `https://my-service.search.windows.net`.
76+
1. Copy the URL, which should be similar to `https://my-service.search.windows.net`.
7777

7878
1. On your Azure AI Foundry resource:
7979

80-
1. From the left pane, select **Resource Management** > **Keys and Endpoint**.
80+
1. From the left pane, select **Resource Management** > **Keys and Endpoint**.
8181

8282
1. Select the **OpenAI** tab and copy the URL that looks similar to `https://my-resource.openai.azure.com`.
8383

articles/search/includes/quickstarts/full-text-csharp.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,25 +4,27 @@ author: haileytap
44
ms.author: haileytapia
55
ms.service: azure-ai-search
66
ms.topic: include
7-
ms.date: 06/13/2025
7+
ms.date: 06/23/2025
88
---
99

1010
[!INCLUDE [Full text introduction](full-text-intro.md)]
1111

1212
> [!TIP]
13-
> You can [download the source code](https://github.com/Azure-Samples/azure-search-dotnet-samples/tree/main/quickstart/v11) to start with a finished project or follow these steps to create your own.
13+
> You can download the [source code](https://github.com/Azure-Samples/azure-search-dotnet-samples/tree/main/quickstart) to start with a finished project or follow these steps to create your own.
1414
1515
## Prerequisites
1616

1717
- An Azure account with an active subscription. [Create an account for free](https://azure.microsoft.com/free/?WT.mc_id=A261C142F).
18+
1819
- An Azure AI Search service. [Create a service](../../search-create-service-portal.md) if you don't have one. For this quickstart, you can use a free service.
1920

2021
## Microsoft Entra ID prerequisites
2122

22-
For the recommended keyless authentication with Microsoft Entra ID, you need to:
23+
For the recommended keyless authentication with Microsoft Entra ID, you must:
24+
25+
- Install the [Azure CLI](/cli/azure/install-azure-cli).
2326

24-
- Install the [Azure CLI](/cli/azure/install-azure-cli) used for keyless authentication with Microsoft Entra ID.
25-
- Assign both of the `Search Service Contributor` and `Search Index Data Contributor` roles to your user account. You can assign roles in the Azure portal under **Access control (IAM)** > **Add role assignment**. For more information, see [Connect to Azure AI Search using roles](../../search-security-rbac.md).
27+
- Assign the `Search Service Contributor` and `Search Index Data Contributor` roles to your user account. You can assign roles in the Azure portal under **Access control (IAM)** > **Add role assignment**. For more information, see [Connect to Azure AI Search using roles](../../search-security-rbac.md).
2628

2729
## Retrieve resource information
2830

articles/search/includes/quickstarts/full-text-intro.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ author: haileytap
44
ms.author: haileytapia
55
ms.service: azure-ai-search
66
ms.topic: include
7-
ms.date: 03/04/2025
7+
ms.date: 06/26/2025
88
---
99

10-
In this quickstart, you use the Azure.Search.Documents client library to create, load, and query a search index using sample data for [full text search](../../search-lucene-query-architecture.md). Full text search uses Apache Lucene for indexing and queries, and a BM25 ranking algorithm for scoring results.
10+
In this quickstart, you use the Azure.Search.Documents client library to create, load, and query a search index with sample data for [full-text search](../../search-lucene-query-architecture.md). Full-text search uses Apache Lucene for indexing and queries and the BM25 ranking algorithm for scoring results.
1111

12-
This quickstart creates and queries a small hotels-quickstart index containing data about four hotels.
12+
This quickstart uses fictional hotel data from the [azure-search-sample-data](https://github.com/Azure-Samples/azure-search-sample-data/tree/main/hotels/hotel-json-documents) repo to populate the index.

articles/search/includes/quickstarts/full-text-java.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,24 +4,27 @@ author: haileytap
44
ms.author: haileytapia
55
ms.service: azure-ai-search
66
ms.topic: include
7-
ms.date: 06/13/2025
7+
ms.date: 06/23/2025
88
---
99

1010
[!INCLUDE [Full text introduction](full-text-intro.md)]
1111

1212
> [!TIP]
13-
> You can [download the source code](https://github.com/Azure-Samples/azure-search-java-samples/tree/main/quickstart) to start with a finished project or follow these steps to create your own.
13+
> You can download the [source code](https://github.com/Azure-Samples/azure-search-java-samples/tree/main/quickstart) to start with a finished project or follow these steps to create your own.
1414
1515
## Prerequisites
1616

1717
- An Azure account with an active subscription. [Create an account for free](https://azure.microsoft.com/free/?WT.mc_id=A261C142F).
18+
1819
- An Azure AI Search service. [Create a service](../../search-create-service-portal.md) if you don't have one. For this quickstart, you can use a free service.
1920

2021
## Microsoft Entra ID prerequisites
2122

22-
For the recommended keyless authentication with Microsoft Entra ID, you need to:
23-
- Install the [Azure CLI](/cli/azure/install-azure-cli) used for keyless authentication with Microsoft Entra ID.
24-
- Assign both of the `Search Service Contributor` and `Search Index Data Contributor` roles to your user account. You can assign roles in the Azure portal under **Access control (IAM)** > **Add role assignment**. For more information, see [Connect to Azure AI Search using roles](../../search-security-rbac.md).
23+
For the recommended keyless authentication with Microsoft Entra ID, you must:
24+
25+
- Install the [Azure CLI](/cli/azure/install-azure-cli).
26+
27+
- Assign the `Search Service Contributor` and `Search Index Data Contributor` roles to your user account. You can assign roles in the Azure portal under **Access control (IAM)** > **Add role assignment**. For more information, see [Connect to Azure AI Search using roles](../../search-security-rbac.md).
2528

2629
## Retrieve resource information
2730

articles/search/includes/quickstarts/full-text-javascript.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,24 +4,27 @@ author: haileytap
44
ms.author: haileytapia
55
ms.service: azure-ai-search
66
ms.topic: include
7-
ms.date: 06/13/2025
7+
ms.date: 06/23/2025
88
---
99

1010
[!INCLUDE [Full text introduction](full-text-intro.md)]
1111

1212
> [!TIP]
13-
> You can [download the source code](https://github.com/Azure-Samples/azure-search-javascript-samples/tree/main/quickstart) to start with a finished project or follow these steps to create your own.
13+
> You can download the [source code](https://github.com/Azure-Samples/azure-search-javascript-samples/tree/main/quickstart) to start with a finished project or follow these steps to create your own.
1414
1515
## Prerequisites
1616

1717
- An Azure account with an active subscription. [Create an account for free](https://azure.microsoft.com/free/?WT.mc_id=A261C142F).
18+
1819
- An Azure AI Search service. [Create a service](../../search-create-service-portal.md) if you don't have one. For this quickstart, you can use a free service.
1920

2021
## Microsoft Entra ID prerequisites
2122

22-
For the recommended keyless authentication with Microsoft Entra ID, you need to:
23-
- Install the [Azure CLI](/cli/azure/install-azure-cli) used for keyless authentication with Microsoft Entra ID.
24-
- Assign both of the `Search Service Contributor` and `Search Index Data Contributor` roles to your user account. You can assign roles in the Azure portal under **Access control (IAM)** > **Add role assignment**. For more information, see [Connect to Azure AI Search using roles](../../search-security-rbac.md).
23+
For the recommended keyless authentication with Microsoft Entra ID, you must:
24+
25+
- Install the [Azure CLI](/cli/azure/install-azure-cli).
26+
27+
- Assign the `Search Service Contributor` and `Search Index Data Contributor` roles to your user account. You can assign roles in the Azure portal under **Access control (IAM)** > **Add role assignment**. For more information, see [Connect to Azure AI Search using roles](../../search-security-rbac.md).
2528

2629
## Retrieve resource information
2730

@@ -531,7 +534,7 @@ AzureKeyCredential credential = new AzureKeyCredential("<Your search service adm
531534
532535
### Create index
533536
534-
The *hotels_quickstart_index.json* file defines how Azure AI Search works with the documents you load in the next step. Each field is identified by a `name` and have a specified `type`. Each field also has a series of index attributes that specify whether Azure AI Search can search, filter, sort, and facet upon the field. Most of the fields are simple data types, but some, like `AddressType` are complex types that allow you to create rich data structures in your index. You can read more about [supported data types](/rest/api/searchservice/supported-data-types) and index attributes described in [Create Index (REST)](/rest/api/searchservice/indexes/create).
537+
The *hotels_quickstart_index.json* file defines how Azure AI Search works with the documents you load in the next step. Each field is identified by a `name` and has a specified `type`. Each field also has a series of index attributes that specify whether Azure AI Search can search, filter, sort, and facet upon the field. Most of the fields are simple data types, but some, like `AddressType` are complex types that allow you to create rich data structures in your index. You can read more about [supported data types](/rest/api/searchservice/supported-data-types) and index attributes described in [Create Index (REST)](/rest/api/searchservice/indexes/create).
535538
536539
With our index definition in place, we want to import *hotels_quickstart_index.json* at the top of *index.js* so the main function can access the index definition.
537540

0 commit comments

Comments
 (0)