Page 1 of 1

API published-data questions

Posted: Fri Jul 27, 2018 5:26 pm
by Magelfik

I am confused about a few details about one of your endpoints ( Can you confirm it returns every publication containing in its name the passed "q" argument ?

The second question I have is about the sorting of this endpoint. Are results sorted by publication date, and if not, how could one achieve that ?

Thank you in advance for your answers.

Re: API published-data questions

Posted: Mon Jul 30, 2018 3:16 pm
by EPO / OPS Support
Dear user,

For the example query ... e/?q=solar,
OPS will inform you that more than 10.000 results were found, without specifying how many there are in reality.

The default display in OPS only shows the first 25 results, but if you want to see more, you can change the range parameter at the end of the URL ("&Range=xx-xx"). You can download batches of up to 100 results at a time:

However, OPS can only display a total of 2 000 results. If there are more than 2 000 hits in your results list, you will have to limit your search query to reduce the number of results.

More details on the OPS manual p. 56.

Question 2:

The documents appearing first are those that were loaded into the database last. This does not mean that the date of publication is recent.
You could try to retrieve the documents using for example the keyword and a publication month: ... 0pd=201807

Please also look at the "Catalogue of supported CQL queries for OPS Published-data service" in the OPS manual on page 135ff.

Kind regards,
OPS support