new sort parameters and other improvements to the arXiv API

25 views
Skip to first unread message

Thorsten S

unread,
May 4, 2009, 12:35:37 PM5/4/09
to arxi...@googlegroups.com
Greeting arXiv API users.

arXiv would like to inform you that we have recently added various
sort options for the result set to the api search.
The two new and optional query parameters are "sortBy" and "sortOrder".

sortBy can be "relevance", "lastUpdatedDate", "submittedDate"

sortOrder is either "ascending" or "descending".

A sample query using these new parameters looks like

http://export.arxiv.org/api/query?search_query=ti:"electron thermal
conductivity"&sortBy=lastUpdatedDate&sortOrder=ascending


arXiv has also improved the handling of large result sets. You can now
request up to 30,000 results in slices of at most 2000 at a time,
using the "max_results" and "start" query parameters.

For example to retrieve matches 6001 -- 8000

http://export.arxiv.org/api/query?search_query=all:electron&start=6000&max_results=8000

Note that large result sets put considerable load on the server and
also take a long time to render. We recommend to refine queries which
return more than 1,000 results, or at least request smaller slices.
Combined with the new sort options the latter is a good choice.

For bulk metadata harvesting or set information, etc., the OAI
interface is more suitable, see

http://arxiv.org/help/oa/index

for more information.

Happy hacking
Thorsten Schwander

Reply all
Reply to author
Forward
0 new messages