how can I specify a range of dates for publication_date in the News collection of IBM Watson Discovery?

298 views Asked by At

I am transitioning our app (a few days late, unfortunately) from Alchemy News to the Watson Discovery News collection. In AN I was able to specify news that was published in a specific range of dates, but I can't figure out how to do that in WDN. I can specify a particular date, but it doesn't allow a range. Is there another way to do this?

1

There are 1 answers

1
atambo On BEST ANSWER

Use the range operators: https://console.bluemix.net/docs/services/discovery/query-operators.html#comparisons

Basically you can do a query like filter=publication_date>2018-01-14