Skip to content

Commit 4685aeb

Browse files
committed
Add edits
1 parent a37506f commit 4685aeb

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -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: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ 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

243243
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

0 commit comments

Comments
 (0)