All Versions
- DSpace 7.x (Current Release)
- DSpace 8.x (Unreleased)
- DSpace 6.x (EOL)
- DSpace 5.x (EOL)
- More Versions...
...
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.
...
Syntax
Wiki Markup |
---|
bin/dspace xoai <action> \[parameters\] |
Actions
Parameters
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: |
Code Block |
---|
0 3 * * * [dspace]/bin/dspace xoai- import -i |
Wiki Markup |
---|
Note that {{\[dspace\]}} should be replaced by the correct value, that is, the value defined in {{dspace.cfg}} parameter {{dspace.dir}}. |
...