question

ejhenderson-4154 avatar image
0 Votes"
ejhenderson-4154 asked romungi-MSFT commented

Bing News Search API: Gap in datePublished after the 100th result

When I page through News search results sorted by date, there's a 2 week gap in date published after result 100 even when the "since" & "freshness" params are set to only include results from the last week. How do I set up my searches to eliminate this issue?

This is using Bing News Search API v7, hitting the /news/search endpoint.

azure-bing-news
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@ejhenderson-4154 The params "since" & "freshness" provided by bing helps to select trending topics discovered by Bing on or after the specified time but not necessarily the time the news was published so the published date can be later but due to the time at which this was discovered and freshness it might be available as a result even though it is published more than a week ago. The sortBy parameter along with since should sort these articles based on the date on which they are trending. We hope the details of these parameters in the reference might clarify this further.




1 Vote 1 ·

@ejhenderson-4154 Did you get a chance to review if your result is displayed based on the above functionality?

1 Vote 1 ·

0 Answers