Skip to content

Upstream quirks

Behavior of the OpenAIRE and Scholexplorer services that the client works around or documents.

V4 page_size, offset, and OR-list caps

  • page_size must be between 1 and 100 (in both offset and cursor modes); larger values return HTTP 400.
  • Offset-based paging is limited to offset <= 10,000 (max_offset=10_000); use cursor paging (iterate() or cursor="*") for larger datasets.
  • A single V4 filter field accepts at most 50 pipe-separated OR values (OpenAIRE Graph 1.6.0+); larger lists return HTTP 400.

OpenAire enforces all three caps client-side (GRAPH_DIALECT.max_page_size = 100, GRAPH_DIALECT.max_offset = 10_000, and 50-value OR check raising ConfigurationError).

Scholix V3 linkProvider and date-filter limitations

  • /v3/Links does not declare linkProvider and silently ignores it; /v2/Links filters by linkProvider properly. OpenAire routes queries carrying link_provider to /v2/Links automatically.
  • /v3/Links accepts from and to but returns zero rows for every tested date value. /v2/Links has no from/to parameters at all and silently ignores them (returning unfiltered links). Passing from_date or to_date to Scholix search or iterate methods raises ConfigurationError immediately so that callers never receive silent zero-row or unfiltered results; filter results by link_publication_date client-side instead, or query Graph V4 research products with from_publication_date / to_publication_date.

Facet totals are uneven

The V4 facet aggregation reports counts per value together with a header numFound, but the numbers come from different aggregation paths and are not guaranteed to agree; per-value counts can also differ from what a plain search for that value reports. Treat facets() output as a rough distribution, not an exact breakdown.

On /v3/research-products/links and Scholexplorer /v2/Links & /v3/Links, a page size of 100 or more silently returns 10 results without an error. The client caps page sizes for these routes at 99.

The links route has no cursor or sort, so a page window only makes sense if the upstream ordering is stable. If the ordering changes between requests, relations can be skipped or duplicated. The iterator stops on an empty page or at the reported total, which bounds the walk but cannot prevent shifts.

V3 by-id routes need raw colons

The /v3/{entity}/{id} routes take prefix::suffix identifiers with the colons unencoded; percent-encoding them returns 404. The client leaves colons in place.

Only some fields are facetable

The facets parameter of a V4 search rejects unknown or non-aggregatable fields with HTTP 400 ("Field 'x' is not facetable"). type and language answer, while result_hosts, best_oa_rights, publication_date, and country answer 400. Facet field names are distinct from filter field names, and a rejected field fails the whole request.

The funder project filter needs the full id form

filter=funder:EC answers zero rows for quantum projects, while filter=funder_short_name:EC answers 1,720. The funder field matches the full grant identifier form; use funder_short_name for the short name of a funder such as the European Commission.

The V4 datasources type and jurisdiction filters return zero rows

filter=type:aggregator::pubsrepository::unknown, filter=type:pubsrepository::journal, and filter=jurisdiction:Governmental all answer zero rows for queries whose unfiltered hits carry exactly those values, while filter=country:NL and plain queries work. Combine a query with country (or another filter you have verified) instead of type or jurisdiction.

Scholexplorer sends no rate-limit headers

There is no 429 feedback to pace against, so the Scholix client self-throttles to one request per second.