You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/communication-services/quickstarts/voice-video-calling/includes/get-started/get-started-javascript.md
# Quickstart: Create a search index using the Azure.Search.Documents client library
15
15
16
-
Use the [Azure.Search.Documents (version 11) client library](/dotnet/api/overview/azure/search.documents-readme) to create a .NET Core console application in C# that creates, loads, and queries a search index.
16
+
Learn how to use the [Azure.Search.Documents (version 11) client library](/dotnet/api/overview/azure/search.documents-readme) to create a .NET Core console application in C# that creates, loads, and queries a search index.
17
17
18
18
You can [download the source code](https://github.com/Azure-Samples/azure-search-dotnet-samples/tree/master/quickstart/v11) to start with a finished project or follow the steps in this article to create your own.
19
19
@@ -32,11 +32,10 @@ Before you begin, have the following tools and services:
32
32
33
33
When setting up your project, you'll download the [Azure.Search.Documents NuGet package](https://www.nuget.org/packages/Azure.Search.Documents/).
34
34
35
-
Azure SDK for .NET conforms to [.NET Standard 2.0](/dotnet/standard/net-standard#net-implementation-support), which means .NET Framework 4.6.1 and .NET Core 2.0 as minimum requirements.
36
-
35
+
Azure SDK for .NET conforms to [.NET Standard 2.0](/dotnet/standard/net-standard#net-implementation-support), which means .NET Framework 4.6.1 and .NET Core 2.1 as minimum requirements.
37
36
## Set up your project
38
37
39
-
Assemble service connection information, and then start Visual Studio to create a new Console App project that can run on .NET Core.
38
+
Assemble service connection information, and then start Visual Studio to create a new Console App project that can run on. Select NET Core 3.1 for the run time.
40
39
41
40
<aname="get-service-info"></a>
42
41
@@ -81,11 +80,11 @@ After the project is created, add the client library. The [Azure.Search.Document
81
80
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.
Copy file name to clipboardExpand all lines: articles/search/search-get-started-java.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
---
2
-
title: 'Quickstart: Create a search index in Javas'
2
+
title: 'Quickstart: Create a search index in Java'
3
3
titleSuffix: Azure Cognitive Search
4
4
description: In this Java quickstart, learn how to create an index, load data, and run queries using the Azure Cognitive Search client library for Java.
Build a notebook that creates, loads, and queries an Azure Cognitive Search index using Python and the [azure-search-documents library](/python/api/overview/azure/search-documents-readme) in the Azure SDK for Python. This article explains how to build a notebook step by step. Alternatively, you can [download and run a finished Jupyter Python notebook](https://github.com/Azure-Samples/azure-search-python-samples).
25
+
Build a Jupyter Notebook that creates, loads, and queries an Azure Cognitive Search index using Python and the [azure-search-documents library](/python/api/overview/azure/search-documents-readme) in the Azure SDK for Python. This article explains how to build a notebook step by step. Alternatively, you can [download and run a finished Jupyter Python notebook](https://github.com/Azure-Samples/azure-search-python-samples).
26
26
27
27
If you don't have an Azure subscription, create a [free account](https://azure.microsoft.com/free/?WT.mc_id=A261C142F) before you begin.
28
28
@@ -57,8 +57,8 @@ In this task, start Jupyter Notebook and verify that you can connect to Azure Co
57
57
1. In the first cell, load the libraries from the Azure SDK for Python, including [azure-search-documents](/python/api/azure-search-documents).
58
58
59
59
```python
60
-
!pip install azure-search-documents --pre
61
-
!pip show azure-search-documents
60
+
%pip install azure-search-documents --pre
61
+
%pip show azure-search-documents
62
62
63
63
import os
64
64
from azure.core.credentials import AzureKeyCredential
@@ -318,7 +318,7 @@ This step shows you how to query an index using the **search** method of the [se
318
318
print("{}".format(facet))
319
319
```
320
320
321
-
1. In this example, look up a specific document based on its key. You would typically want to return a document when a user select on a document in a search result.
321
+
1. In this example, look up a specific document based on its key. You would typically want to return a document when a user selects a document in a search result.
322
322
323
323
```python
324
324
result = search_client.get_document(key="3")
@@ -331,7 +331,7 @@ This step shows you how to query an index using the **search** method of the [se
331
331
332
332
1. In this example, we'll use the autocomplete function. Autocomplete is typically used in a search box to provide potential matches as the user types into the search box.
333
333
334
-
When the index was created, a suggester named "sg" was also created as part of the request. A suggester definition specifies which fields can be used to find potential matches to suggester requests. In this example, those fields are 'Tags', 'Address/City', 'Address/Country'. To simulate auto-complete, passin the letters "sa"as a partial string. The autocomplete method of [SearchClient](/python/api/azure-search-documents/azure.search.documents.searchclient) sends back potential term matches.
334
+
When the index was created, a suggester named `sg` was also created as part of the request. A suggester definition specifies which fields can be used to find potential matches to suggester requests. In this example, those fields are 'Tags', 'Address/City', 'Address/Country'. To simulate auto-complete, passin the letters "sa"as a partial string. The autocomplete method of [SearchClient](/python/api/azure-search-documents/azure.search.documents.searchclient) sends back potential term matches.
0 commit comments