Skip to content

Commit f9b1280

Browse files
authored
Merge pull request #3044 from eric-urban/eur/full-text-qs-entra-js-ts
js ts quickstart run and then explain
2 parents 19714c4 + 0b359b1 commit f9b1280

File tree

11 files changed

+942
-683
lines changed

11 files changed

+942
-683
lines changed

articles/ai-services/openai/includes/assistants-javascript.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ For the recommended keyless authentication with Microsoft Entra ID, you need to:
2929
- Assign the `Cognitive Services User` role to your user account. You can assign roles in the Azure portal under **Access control (IAM)** > **Add role assignment**.
3030

3131
## Set up
32-
32+
3333
1. Create a new folder `assistants-quickstart` to contain the application and open Visual Studio Code in that folder with the following command:
3434

3535
```shell

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ For the recommended keyless authentication with Microsoft Entra ID, you need to:
3232
1. Create a new folder `full-text-quickstart` to contain the application and open Visual Studio Code in that folder with the following command:
3333

3434
```shell
35-
mkdir full-text-quickstart && cd full-text-quickstart
35+
mkdir full-text-quickstart && code full-text-quickstart
3636
```
3737

3838
1. Create a new console application with the following command:
@@ -65,7 +65,7 @@ In the prior [set up](#set-up) section, you created a new console application an
6565

6666
In this section, you add code to create a search index, load it with documents, and run queries. You run the program to see the results in the console. For a detailed explanation of the code, see the [explaining the code](#explaining-the-code) section.
6767

68-
The sample code in this quickstart uses Microsoft Entra ID for authentication. If you prefer to use an API key, you can replace the `DefaultAzureCredential` object with a `AzureKeyCredential` object.
68+
The sample code in this quickstart uses Microsoft Entra ID for the recommended keyless authentication. If you prefer to use an API key, you can replace the `DefaultAzureCredential` object with a `AzureKeyCredential` object.
6969

7070
#### [Microsoft Entra ID](#tab/keyless)
7171

@@ -623,7 +623,7 @@ In *Program.cs*, you created two clients:
623623
624624
Both clients need the search service endpoint and credentials described previously in the [resource information](#retrieve-resource-information) section.
625625
626-
The sample code in this quickstart uses Microsoft Entra ID for authentication. If you prefer to use an API key, you can replace the `DefaultAzureCredential` object with a `AzureKeyCredential` object.
626+
The sample code in this quickstart uses Microsoft Entra ID for the recommended keyless authentication. If you prefer to use an API key, you can replace the `DefaultAzureCredential` object with a `AzureKeyCredential` object.
627627
628628
#### [Microsoft Entra ID](#tab/keyless)
629629

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ author: eric-urban
44
ms.author: eur
55
ms.service: azure-ai-search
66
ms.topic: include
7-
ms.date: 2/12/2025
7+
ms.date: 2/19/2025
88
---
99

1010
Learn how to 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.

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,11 +93,11 @@ The sample in this quickstart works with the Java Runtime. Install a Java Develo
9393

9494
## Create, load, and query a search index
9595

96-
In the prior [set up](#set-up) section, you created a new console application and installed the Azure AI Search client library.
96+
In the prior [set up](#set-up) section, you installed the Azure AI Search client library and other dependencies.
9797

9898
In this section, you add code to create a search index, load it with documents, and run queries. You run the program to see the results in the console. For a detailed explanation of the code, see the [explaining the code](#explaining-the-code) section.
9999

100-
The sample code in this quickstart uses Microsoft Entra ID for authentication. If you prefer to use an API key, you can replace the `DefaultAzureCredential` object with a `AzureKeyCredential` object.
100+
The sample code in this quickstart uses Microsoft Entra ID for the recommended keyless authentication. If you prefer to use an API key, you can replace the `DefaultAzureCredential` object with a `AzureKeyCredential` object.
101101

102102
#### [Microsoft Entra ID](#tab/keyless)
103103

@@ -540,7 +540,7 @@ In *App.java* you created two clients:
540540
541541
Both clients need the search service endpoint and credentials described previously in the resource information section.
542542
543-
The sample code in this quickstart uses Microsoft Entra ID for authentication. If you prefer to use an API key, you can replace the `DefaultAzureCredential` object with a `AzureKeyCredential` object.
543+
The sample code in this quickstart uses Microsoft Entra ID for the recommended keyless authentication. If you prefer to use an API key, you can replace the `DefaultAzureCredential` object with a `AzureKeyCredential` object.
544544
545545
#### [Microsoft Entra ID](#tab/keyless)
546546

0 commit comments

Comments
 (0)