Forum Discussion
Cognitive Services - Availability of SDKs for the latest Bing Search APIs
Can anyone shed some light to the input parameter of the freshness parameter of the news searech api? It doesn't matter whether I set the freshness parameter to be month, week or day, news search api always return the same amount of article ( the totalEstimatedMatches of the response body).
Also, the returned output always include some out-of-bound eesult that can be as old as 6 months or even 2 years old in some case.
Can anyone shed some light? It is as if the freshness input parameter is useless. What is exactly the
purpose and functionality of the fershness parameter? I can't tell my end-user that they are wasting time by reading out-of-date news?
Freshness parameter tries to get you the news in a given bound but if there isn't enough news articles, it will give you all the content - some of them may be out of bound. If you are trying to post new content higher up on the search page, you can use the sortBy parameter. Just append &sortBy=Date and it will given you the latest news first.