Skip to content

Commit 141aefa

Browse files
authored
Merge pull request #106836 from john-par/1678688-adding-zone-pivots-bing-entity-search
1678688, adding zone pivots bing entity search.
2 parents 9bcb4e3 + b0d3662 commit 141aefa

File tree

8 files changed

+101
-65
lines changed

8 files changed

+101
-65
lines changed

.openpublishing.redirection.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1720,6 +1720,26 @@
17201720
"redirect_url": "/azure/cognitive-services/bing-image-search/quickstarts/client-libraries?pivots=programming-language-python",
17211721
"redirect_document_id": false
17221722
},
1723+
{
1724+
"source_path": "articles/cognitive-services/Bing-Entities-Search/quickstarts/entity-sdk-csharp-quickstart.md",
1725+
"redirect_url": "/azure/cognitive-services/bing-entity-search/quickstarts/client-libraries?pivots=programming-language-csharp",
1726+
"redirect_document_id": false
1727+
},
1728+
{
1729+
"source_path": "articles/cognitive-services/Bing-Entities-Search/quickstarts/entity-sdk-java-quickstart.md",
1730+
"redirect_url": "/azure/cognitive-services/bing-entity-search/quickstarts/client-libraries?pivots=programming-language-java",
1731+
"redirect_document_id": false
1732+
},
1733+
{
1734+
"source_path": "articles/cognitive-services/Bing-Entities-Search/quickstarts/entity-sdk-node-quickstart.md",
1735+
"redirect_url": "/azure/cognitive-services/bing-entity-search/quickstarts/client-libraries?pivots=programming-language-javascript",
1736+
"redirect_document_id": false
1737+
},
1738+
{
1739+
"source_path": "articles/cognitive-services/Bing-Entities-Search/quickstarts/entity-sdk-python-quickstart.md",
1740+
"redirect_url": "/azure/cognitive-services/bing-entity-search/quickstarts/client-libraries?pivots=programming-language-python",
1741+
"redirect_document_id": false
1742+
},
17231743
{
17241744
"source_path": "articles/virtual-machines/linux/classic/rdma-cluster.md",
17251745
"redirect_url": "/azure/virtual-machines/linux/sizes-hpc#rdma-capable-instances",

articles/cognitive-services/Bing-Entities-Search/quickstarts/entity-sdk-csharp-quickstart.md renamed to articles/cognitive-services/Bing-Entities-Search/includes/quickstarts/entity-search-client-library-csharp.md

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,16 @@
11
---
2-
title: "Quickstart: Search for entities with the SDK for C# - Bing Entity Search"
2+
title: Bing Entity Search C# client library quickstart
33
titleSuffix: Azure Cognitive Services
4-
description: Use this quickstart to search for entities with the Bing Entity Search SDK for C#.
54
services: cognitive-services
65
author: aahill
76
manager: nitinme
8-
97
ms.service: cognitive-services
10-
ms.subservice: bing-entity-search
11-
ms.topic: quickstart
12-
ms.date: 12/11/2019
8+
ms.topic: include
9+
ms.date: 03/06/2020
1310
ms.author: aahi
1411
---
1512

16-
# Send a search request with the Bing Entity Search SDK for C#
17-
18-
Use this quickstart to begin searching for entities with the Bing Entity Search SDK for C#. While Bing Entity Search has a REST API compatible with most programming languages, the SDK provides an easy way to integrate the service into your applications. The source code for this sample can be found on [GitHub](https://github.com/Azure-Samples/cognitive-services-dotnet-sdk-samples/tree/master/BingSearchv7/BingEntitySearch).
13+
Use this quickstart to begin searching for entities with the Bing Entity Search client library for C#. While Bing Entity Search has a REST API compatible with most programming languages, the client library provides an easy way to integrate the service into your applications. The source code for this sample can be found on [GitHub](https://github.com/Azure-Samples/cognitive-services-dotnet-sdk-samples/tree/master/BingSearchv7/BingEntitySearch).
1914

2015

2116
## Prerequisites
@@ -28,10 +23,10 @@ Use this quickstart to begin searching for entities with the Bing Entity Search
2823
* Microsoft.Rest.ClientRuntime.Azure
2924
* Newtonsoft.Json
3025

31-
To add the Bing Entity Search SDK to your Visual Studio project, use the **Manage NuGet Packages** option from **Solution Explorer**, and add the `Microsoft.Azure.CognitiveServices.Search.EntitySearch` package.
26+
To add the Bing Entity Search client library to your Visual Studio project, use the **Manage NuGet Packages** option from **Solution Explorer**, and add the `Microsoft.Azure.CognitiveServices.Search.EntitySearch` package.
3227

3328

34-
[!INCLUDE [cognitive-services-bing-news-search-signup-requirements](../../../../includes/cognitive-services-bing-entity-search-signup-requirements.md)]
29+
[!INCLUDE [cognitive-services-bing-news-search-signup-requirements](~/includes/cognitive-services-bing-entity-search-signup-requirements.md)]
3530

3631
## Create and initialize an application
3732

@@ -77,6 +72,6 @@ To add the Bing Entity Search SDK to your Visual Studio project, use the **Manag
7772
## Next steps
7873

7974
> [!div class="nextstepaction"]
80-
> [Create a single-page web app](../tutorial-bing-entities-search-single-page-app.md)
75+
> [Create a single-page web app](../../tutorial-bing-entities-search-single-page-app.md)
8176

82-
* [What is the Bing Entity Search API?](../overview.md )
77+
* [What is the Bing Entity Search API?](../../overview.md )

articles/cognitive-services/Bing-Entities-Search/quickstarts/entity-sdk-java-quickstart.md renamed to articles/cognitive-services/Bing-Entities-Search/includes/quickstarts/entity-search-client-library-java.md

Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,24 @@
11
---
2-
title: "Quickstart: Search for entities with the SDK for Java - Bing Entity Search"
2+
title: Bing Entity Search Java client library quickstart
33
titleSuffix: Azure Cognitive Services
4-
description: Use this quickstart to search for entities with the Bing Entity Search SDK for Java
54
services: cognitive-services
65
author: aahill
76
manager: nitinme
8-
97
ms.service: cognitive-services
10-
ms.subservice: bing-entity-search
11-
ms.topic: quickstart
12-
ms.date: 12/11/2019
8+
ms.topic: include
9+
ms.date: 03/06/2020
1310
ms.author: aahi
1411
---
15-
# Quickstart: Send a search request with the Bing Entity Search SDK for Java
1612

17-
Use this quickstart to begin searching for entities with the Bing Entity Search SDK for Java. While Bing Entity Search has a REST API compatible with most programming languages, the SDK provides an easy way to integrate the service into your applications. The source code for this sample can be found on [GitHub](https://github.com/Azure-Samples/cognitive-services-java-sdk-samples/tree/master/Search/BingEntitySearch).
13+
Use this quickstart to begin searching for entities with the Bing Entity Search client library for Java. While Bing Entity Search has a REST API compatible with most programming languages, the client library provides an easy way to integrate the service into your applications. The source code for this sample can be found on [GitHub](https://github.com/Azure-Samples/cognitive-services-java-sdk-samples/tree/master/Search/BingEntitySearch).
1814

1915
## Prerequisites
2016

2117
* The [Java Development Kit(JDK)](https://www.oracle.com/technetwork/java/javase/downloads/)
2218

23-
* The Bing Entity Search SDK for Java
19+
* The Bing Entity Search client library for Java
2420

25-
Install the Bing Entity Search SDK dependencies by using Maven, Gradle, or another dependency management system. The Maven POM file requires the declaration:
21+
Install the Bing Entity Search client library dependencies by using Maven, Gradle, or another dependency management system. The Maven POM file requires the declaration:
2622

2723
```xml
2824
<dependency>
@@ -32,7 +28,7 @@ Install the Bing Entity Search SDK dependencies by using Maven, Gradle, or anoth
3228
</dependency>
3329
```
3430

35-
[!INCLUDE [cognitive-services-bing-news-search-signup-requirements](../../../../includes/cognitive-services-bing-entity-search-signup-requirements.md)]
31+
[!INCLUDE [cognitive-services-bing-news-search-signup-requirements](~/includes/cognitive-services-bing-entity-search-signup-requirements.md)]
3632

3733

3834
## Create and initialize a project
@@ -62,7 +58,7 @@ Install the Bing Entity Search SDK dependencies by using Maven, Gradle, or anoth
6258

6359
## Create a search client
6460

65-
1. Implement the `dominantEntityLookup` client, which requires your API endpoint, and an instance of the `ServiceClientCredentials` class. You can use the global endpoint below, or the [custom subdomain](../../../cognitive-services/cognitive-services-custom-subdomains.md) endpoint displayed in the Azure portal for your resource.
61+
1. Implement the `dominantEntityLookup` client, which requires your API endpoint, and an instance of the `ServiceClientCredentials` class. You can use the global endpoint below, or the [custom subdomain](../../../../cognitive-services/cognitive-services-custom-subdomains.md) endpoint displayed in the Azure portal for your resource.
6662

6763
```java
6864
public static EntitySearchAPIImpl getClient(final String subscriptionKey) {
@@ -115,7 +111,7 @@ Install the Bing Entity Search SDK dependencies by using Maven, Gradle, or anoth
115111
}
116112
//...
117113
```
118-
## Send a request and receive a response
114+
## Send a request and receive a response
119115

120116
1. Create a new instance of the search client with your subscription key. use `client.entities().search()` to send a search request for the search query `satya nadella`, and get a response.
121117

@@ -145,6 +141,6 @@ Install the Bing Entity Search SDK dependencies by using Maven, Gradle, or anoth
145141
## Next steps
146142

147143
> [!div class="nextstepaction"]
148-
> [Build a single-page web app](../tutorial-bing-entities-search-single-page-app.md)
144+
> [Build a single-page web app](../../tutorial-bing-entities-search-single-page-app.md)
149145

150-
* [What is the Bing Entity Search API?](../overview.md )
146+
* [What is the Bing Entity Search API?](../../overview.md)

articles/cognitive-services/Bing-Entities-Search/quickstarts/entity-sdk-node-quickstart.md renamed to articles/cognitive-services/Bing-Entities-Search/includes/quickstarts/entity-search-client-library-javascript.md

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,16 @@
11
---
2-
title: "Quickstart: Send a search request with the SDK for Node.js - Bing Entity Search"
2+
title: Bing Entity Search JavaScript client library quickstart
33
titleSuffix: Azure Cognitive Services
4-
description: Use this quickstart to search for entities with the Bing Entity Search SDK for Node.js
54
services: cognitive-services
65
author: aahill
76
manager: nitinme
8-
97
ms.service: cognitive-services
10-
ms.subservice: bing-entity-search
11-
ms.topic: quickstart
12-
ms.date: 01/22/2020
8+
ms.topic: include
9+
ms.date: 03/06/2020
1310
ms.author: aahi
1411
---
1512

16-
# Quickstart: Send a search request with the Bing Entity Search SDK for Node.js
17-
18-
Use this quickstart to begin searching for entities with the Bing Entity Search SDK for Node.js. While Bing Entity Search has a REST API compatible with most programming languages, the SDK provides an easy way to integrate the service into your applications. The source code for this sample can be found on [GitHub](https://github.com/Azure-Samples/cognitive-services-node-sdk-samples/blob/master/Samples/entitySearch.js).
13+
Use this quickstart to begin searching for entities with the Bing Entity Search client library for JavaScript. While Bing Entity Search has a REST API compatible with most programming languages, the client library provides an easy way to integrate the service into your applications. The source code for this sample can be found on [GitHub](https://github.com/Azure-Samples/cognitive-services-node-sdk-samples/blob/master/Samples/entitySearch.js).
1914

2015
## Prerequisites
2116

@@ -28,7 +23,7 @@ To install the Bing Entity Search SDK:
2823
1. Run `npm install ms-rest-azure` in your development environment.
2924
2. Run `npm install @azure/cognitiveservices-entitysearch` in your development environment.
3025

31-
[!INCLUDE [cognitive-services-bing-news-search-signup-requirements](../../../../includes/cognitive-services-bing-entity-search-signup-requirements.md)]
26+
[!INCLUDE [cognitive-services-bing-news-search-signup-requirements](~/includes/cognitive-services-bing-entity-search-signup-requirements.md)]
3227

3328

3429
## Create and initialize the application
@@ -68,6 +63,6 @@ To install the Bing Entity Search SDK:
6863
## Next steps
6964

7065
> [!div class="nextstepaction"]
71-
> [Create a single-page web app](../tutorial-bing-entities-search-single-page-app.md)
66+
> [Create a single-page web app](../../tutorial-bing-entities-search-single-page-app.md)
7267

73-
* [What is the Bing Entity Search API?](../overview.md )
68+
* [What is the Bing Entity Search API?](../../overview.md)

articles/cognitive-services/Bing-Entities-Search/quickstarts/entity-sdk-python-quickstart.md renamed to articles/cognitive-services/Bing-Entities-Search/includes/quickstarts/entity-search-client-library-python.md

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,16 @@
11
---
2-
title: "Quickstart: Search for entities with the SDK for Python - Bing Entity Search"
2+
title: Bing Entity Search Python client library quickstart
33
titleSuffix: Azure Cognitive Services
4-
description: Use this quickstart to search for entities with the Bing Entity Search SDK for Python.
54
services: cognitive-services
65
author: aahill
76
manager: nitinme
8-
97
ms.service: cognitive-services
10-
ms.subservice: bing-entity-search
11-
ms.topic: quickstart
12-
ms.date: 02/11/2020
8+
ms.topic: include
9+
ms.date: 03/06/2020
1310
ms.author: aahi
1411
---
15-
# Quickstart: Bing Entity Search SDK with Python
1612

17-
Use this quickstart to begin searching for entities with the Bing Entity Search SDK for Python. While Bing Entity Search has a REST API compatible with most programming languages, the SDK provides an easy way to integrate the service into your applications. The source code for this sample can be found on [GitHub](https://github.com/Azure-Samples/cognitive-services-python-sdk-samples/blob/master/samples/search/entity_search_samples.py).
13+
Use this quickstart to begin searching for entities with the Bing Entity Search client library for Python. While Bing Entity Search has a REST API compatible with most programming languages, the client library provides an easy way to integrate the service into your applications. The source code for this sample can be found on [GitHub](https://github.com/Azure-Samples/cognitive-services-python-sdk-samples/blob/master/samples/search/entity_search_samples.py).
1814

1915
## Prerequisites
2016

@@ -28,14 +24,14 @@ It is recommended that you use a python virtual environment. You can install and
2824
python -m venv mytestenv
2925
```
3026

31-
Install the Bing Entity Search SDK with:
27+
Install the Bing Entity Search client library with:
3228

3329
```Console
3430
cd mytestenv
3531
python -m pip install azure-cognitiveservices-search-entitysearch
3632
```
3733

38-
[!INCLUDE [cognitive-services-bing-news-search-signup-requirements](../../../../includes/cognitive-services-bing-entity-search-signup-requirements.md)]
34+
[!INCLUDE [cognitive-services-bing-news-search-signup-requirements](~/includes/cognitive-services-bing-entity-search-signup-requirements.md)]
3935

4036
## Create and initialize the application
4137

@@ -77,6 +73,6 @@ python -m pip install azure-cognitiveservices-search-entitysearch
7773
## Next steps
7874

7975
> [!div class="nextstepaction"]
80-
> [Create a single-page web app](../tutorial-bing-entities-search-single-page-app.md)
76+
> [Create a single-page web app](../../tutorial-bing-entities-search-single-page-app.md)
8177

82-
* [What is the Bing Entity Search API?](../overview.md )
78+
* [What is the Bing Entity Search API?](../../overview.md )
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
---
2+
title: 'Quickstart: Use the Bing Entity Search client library'
3+
titleSuffix: Azure Cognitive Services
4+
description: The Entity Search API offers client libraries that makes it easy to integrate search capabilities into your applications. Use this quickstart to start sending search requests, and get back results.
5+
services: cognitive-services
6+
author: aahill
7+
manager: nitinme
8+
zone_pivot_groups: programming-languages-set-ten
9+
10+
ms.service: cognitive-services
11+
ms.subservice: bing-entity-search
12+
ms.topic: quickstart
13+
ms.date: 03/06/2020
14+
ms.author: aahi
15+
---
16+
# Quickstart: Use the Bing Entity Search client library
17+
18+
::: zone pivot="programming-language-csharp"
19+
20+
[!INCLUDE [C# quickstart](../includes/quickstarts/entity-search-client-library-csharp.md)]
21+
22+
::: zone-end
23+
24+
::: zone pivot="programming-language-java"
25+
26+
[!INCLUDE [Java quickstart](../includes/quickstarts/entity-search-client-library-java.md)]
27+
28+
::: zone-end
29+
30+
::: zone pivot="programming-language-javascript"
31+
32+
[!INCLUDE [JavaScript quickstart](../includes/quickstarts/entity-search-client-library-javascript.md)]
33+
34+
::: zone-end
35+
36+
::: zone pivot="programming-language-python"
37+
38+
[!INCLUDE [Python quickstart](../includes/quickstarts/entity-search-client-library-python.md)]
39+
40+
::: zone-end

articles/cognitive-services/Bing-Entities-Search/toc.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,8 @@
2626
href: quickstarts/ruby.md
2727
- name: SDK
2828
items:
29-
- name: Using C#
30-
href: quickstarts/entity-sdk-csharp-quickstart.md
31-
- name: Using Node.js
32-
href: quickstarts/entity-sdk-node-quickstart.md
33-
- name: Using Python
34-
href: quickstarts/entity-sdk-python-quickstart.md
35-
- name: Using Java
36-
href: quickstarts/entity-sdk-java-quickstart.md
29+
- name: Bing Entity Search client libraries
30+
href: ./quickstarts/client-libraries.md
3731
- name: Tutorials
3832
items:
3933
- name: Build a single-page web app

articles/cognitive-services/Bing-Web-Search/index.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -106,16 +106,16 @@ conceptualContent:
106106
links:
107107
- text: Use C#
108108
itemType: quickstart
109-
url: ../bing-entities-search/quickstarts/entity-sdk-csharp-quickstart.md
109+
url: ../bing-entities-search/quickstarts/client-libraries.md?pivots=programming-language-csharp
110110
- text: Use Java
111111
itemType: quickstart
112-
url: ../bing-entities-search/quickstarts/entity-sdk-java-quickstart.md
113-
- text: Use Node.js
112+
url: ../bing-entities-search/quickstarts/client-libraries.md?pivots=programming-language-java
113+
- text: Use JavaScript
114114
itemType: quickstart
115-
url: ../bing-entities-search/quickstarts/entity-sdk-node-quickstart.md
115+
url: ../bing-entities-search/quickstarts/client-libraries.md?pivots=programming-language-javascript
116116
- text: Use Python
117117
itemType: quickstart
118-
url: ../bing-entities-search/quickstarts/entity-sdk-python-quickstart.md
118+
url: ../bing-entities-search/quickstarts/client-libraries.md?pivots=programming-language-python
119119
- text: Create a single page web-app
120120
itemType: tutorial
121121
url: ../bing-entities-search/tutorial-bing-entities-search-single-page-app.md

0 commit comments

Comments
 (0)