Skip to content

Commit f3a58a0

Browse files
Merge pull request #974 from cdpark/refresh-oct-heidist3
Feature 322546: Q&M: Freshness - AI Services & Search 180d target - Oct sprint - heidist3
2 parents 14e3e21 + 6434637 commit f3a58a0

File tree

4 files changed

+49
-49
lines changed

4 files changed

+49
-49
lines changed

articles/search/includes/quickstarts/dotnet-semantic.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ ms.service: azure-ai-search
55
ms.custom:
66
- ignite-2023
77
ms.topic: include
8-
ms.date: 01/02/2024
8+
ms.date: 10/22/2024
99
---
1010

11-
Build a console application using the [**Azure.Search.Documents**](/dotnet/api/overview/azure/search.documents-readme) client library to add semantic ranking to an existing search index.
11+
Build a console application by using the [**Azure.Search.Documents**](/dotnet/api/overview/azure/search.documents-readme) client library to add semantic ranking to an existing search index.
1212

13-
Alternatively, you can [download the source code](https://github.com/Azure-Samples/azure-search-dotnet-samples/tree/main/quickstart-semantic-search/SemanticSearchQuickstart) to start with a finished project or follow these steps to create your own.
13+
Alternatively, you can [download the source code](https://github.com/Azure-Samples/azure-search-dotnet-samples/tree/main/quickstart-semantic-search/SemanticSearchQuickstart) to start with a finished project.
1414

1515
#### Set up your environment
1616

@@ -20,13 +20,13 @@ Alternatively, you can [download the source code](https://github.com/Azure-Sampl
2020

2121
1. Select **Browse**.
2222

23-
1. Search for [Azure.Search.Documents package](https://www.nuget.org/packages/Azure.Search.Documents/) and select the latest stable version.
23+
1. Search for the [Azure.Search.Documents package](https://www.nuget.org/packages/Azure.Search.Documents/) and select the latest stable version.
2424

2525
1. Select **Install** to add the assembly to your project and solution.
2626

2727
#### Create a search client
2828

29-
1. In **Program.cs**, add the following `using` directives.
29+
1. In *Program.cs*, add the following `using` directives.
3030

3131
```csharp
3232
using Azure;
@@ -36,9 +36,9 @@ Alternatively, you can [download the source code](https://github.com/Azure-Sampl
3636
using Azure.Search.Documents.Models;
3737
```
3838

39-
1. Create two clients: [SearchIndexClient](/dotnet/api/azure.search.documents.indexes.searchindexclient) creates the index, and [SearchClient](/dotnet/api/azure.search.documents.searchclient) loads and queries an existing index. Both need the service endpoint and an admin API key for authentication with create/delete rights.
39+
1. Create two clients: [SearchIndexClient](/dotnet/api/azure.search.documents.indexes.searchindexclient) creates the index, and [SearchClient](/dotnet/api/azure.search.documents.searchclient) loads and queries an existing index.
4040

41-
Because the code builds out the URI for you, specify just the search service name in the "serviceName" property.
41+
Both clients need the service endpoint and an admin API key for authentication with create/delete rights. However, the code builds out the URI for you, so specify only the search service name for the `serviceName` property. Don't include `https://` or `.search.windows.net`.
4242

4343
```csharp
4444
static void Main(string[] args)

articles/search/includes/quickstarts/python-semantic.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ ms.service: azure-ai-search
55
ms.custom:
66
- ignite-2023
77
ms.topic: include
8-
ms.date: 03/11/2024
8+
ms.date: 10/22/2024
99
---
1010

11-
Use a Jupyter notebook and the [**azure-search-documents**](/python/api/overview/azure/search-documents-readme) library in the Azure SDK for Python to learn about semantic ranking.
11+
Use a Jupyter notebook and the [**azure-search-documents**](/python/api/overview/azure/search-documents-readme) library in the Azure SDK for Python to learn about semantic ranking.
1212

13-
Alternatively, [download and run a finished notebook](https://github.com/Azure-Samples/azure-search-python-samples/tree/main/Quickstart-Semantic-Search).
13+
Alternatively, you can [download and run a finished notebook](https://github.com/Azure-Samples/azure-search-python-samples/tree/main/Quickstart-Semantic-Search).
1414

1515
#### Set up your environment
1616

@@ -22,7 +22,7 @@ We recommend a virtual environment for this quickstart:
2222

2323
1. Create a new ipynb file.
2424

25-
1. Open the Command Palette (Ctrl+Shift+P).
25+
1. Open the Command Palette by using **Ctrl+Shift+P**.
2626

2727
1. Search for **Python: Create Environment**.
2828

@@ -42,7 +42,7 @@ It can take a minute to set up. If you run into problems, see [Python environmen
4242
! pip install python-dotenv --quiet
4343
```
4444

45-
1. Provide endpoint and API keys:
45+
1. Provide your endpoint and API keys:
4646

4747
```python
4848
search_endpoint: str = "PUT-YOUR-SEARCH-SERVICE-ENDPOINT-HERE"
@@ -238,9 +238,9 @@ for result in results:
238238

239239
#### Run a text query
240240

241-
For comparison purposes, run text query with BM25 relevance scoring. Full text search is invoked when you provide a query string. The response consists of ranked results, where higher scores are awarded to documents having more instances of matching terms, or more important terms.
241+
For comparison purposes, run a text query with BM25 relevance scoring. Full text search is invoked when you provide a query string. The response consists of ranked results, where higher scores are awarded to documents having more instances of matching terms, or more important terms.
242242

243-
In this query for "what hotel has a good restaurant on site", Sublime Cliff Hotel comes out on top because its description includes "site". Terms that occur infrequently raise the search score of the document.
243+
In this query for *what hotel has a good restaurant on site*, Sublime Cliff Hotel comes out on top because its description includes *site*. Terms that occur infrequently raise the search score of the document.
244244

245245
```python
246246
# Run a text query (returns a BM25-scored result set)

0 commit comments

Comments
 (0)