I would like to report a possible bug in the arXiv API related to boolean logic in category queries, which occured to me two days ago (before which all behaviors are normal).
When using the following search_query with multiple categories combined using OR, the API returns only papers that belong to all categories simultaneously (i.e., the intersection), instead of the expected union of categories:
Here is one example request that reproduces the issue:
Expected behavior:
Return all papers that belong to any of the listed categories (logical OR).
Actual behavior:
Only papers belonging to all categories simultaneously (logical AND) are returned.
This significantly reduces results and is inconsistent with the documented boolean logic for search_query.
Thank you for your help and for maintaining the arXiv service.