Skip to content

Commit bcef0b1

Browse files
authored
Merge pull request #94259 from aahill/patch-22
[CogSvcs] Adding nextOffset information
2 parents bff2e36 + 50aa813 commit bcef0b1

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

articles/cognitive-services/Bing-Web-Search/paging-search-results.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ms.assetid: 26CA595B-0866-43E8-93A2-F2B5E09D1F3B
99
ms.service: cognitive-services
1010
ms.subservice: bing-web-search
1111
ms.topic: conceptual
12-
ms.date: 10/03/2019
12+
ms.date: 10/31/2019
1313
ms.author: aahi
1414
---
1515

@@ -60,6 +60,8 @@ Ocp-Apim-Subscription-Key: 123456789ABCDE
6060
Host: api.cognitive.microsoft.com
6161
```
6262

63+
When using the Bing Image and Video APIs, you can use the `nextOffset` value to avoid duplicate search results. Get the value from the `Images` or `Videos` response objects, and use it in your requests with the `offset` parameter.
64+
6365
> [!NOTE]
6466
> The Bing Web Search API returns search results that can include webpages, images, videos, and news. When you page through search results from the Bing Web Search API, you are paging only [WebPages](https://docs.microsoft.com/rest/api/cognitiveservices-bingsearch/bing-web-api-v7-reference#webpage), and not other answer types such as images or news. Search results in `WebPage` objects may include results that appear in other answer types as well.
6567
>
@@ -72,4 +74,4 @@ Host: api.cognitive.microsoft.com
7274
* [Bing Custom Search API v7 reference](https://docs.microsoft.com/rest/api/cognitiveservices-bingsearch/bing-custom-search-api-v7-reference)
7375
* [Bing News Search API v7 reference](https://docs.microsoft.com/rest/api/cognitiveservices-bingsearch/bing-news-api-v7-reference)
7476
* [Bing Video Search API v7 reference](https://docs.microsoft.com/rest/api/cognitiveservices-bingsearch/bing-video-api-v7-reference)
75-
* [Bing Image Search API v7 reference](https://docs.microsoft.com/rest/api/cognitiveservices-bingsearch/bing-images-api-v7-reference)
77+
* [Bing Image Search API v7 reference](https://docs.microsoft.com/rest/api/cognitiveservices-bingsearch/bing-images-api-v7-reference)

0 commit comments

Comments
 (0)