Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

XOAI in DSpace is a separate webapp which is a complete substitute for the old "oai" webapp. XOAI doesn't query the DSpace SQL database at the time of the OAI-PMH request. Instead, it keeps the required metadata in its Solr index (currently in a separate "xoai" Solr core) and serves it from there. Furthermore, it caches the requests, so doing the same query repeatedly is very fast. The Solr index can be updated at your convenience, depending on how fresh you need the information to be. Typically, the administrator sets up a nightly cron job to update the Solr index from the SQL database.

Scheduled Tasks

TODO: describe command line options

Wiki Markup
In order to refresh the XOAI index, it is required to run the {{\[dspace\]/bin/dspace xoai-import}} command periodically. You can add the following task to your crontab:

...