Closed mark-todd closed 2 years ago
Apologies, I've just found a section of the Scopus documentation that discusses this, and I see now this is a fixed part of the Scopus API: https://dev.elsevier.com/api_key_settings.html I also notice you already support the cursor navigation feature, so I presume this 5000 limit is irrelevant for Scopus Search.
Yes exactly, Scopus imposes the maximum size of the search results. It still applies to the other Search APIs unfortunately.
Background
It's useful to be able to perform large searches on Scopus sometimes, even if that means losing a large amount of request allowance. However, there needs to be a limit, so that the request allowance is not consumed in one search.
Problem
The current version of Pybliometrics has a fixed value for SEARCH_MAX_ENTRIES at 5000, which cannot be altered when Pybliometrics is imported as a package. https://github.com/pybliometrics-dev/pybliometrics/blob/master/pybliometrics/scopus/utils/constants.py#L55
Solution
Perhaps 5000 could be the default value of SEARCH_MAX_ENTRIES, but this could be overridable by specifying a different value in the config file.