All Versions
- DSpace 7.x (Current Release)
- DSpace 8.x (Unreleased)
- DSpace 6.x (EOL)
- DSpace 5.x (EOL)
- More Versions...
...
To create (or recreate) all the various browse/search indexes that you define in the Configuration Section there are a variety of options available to you. You can see these options below in the command table.
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="5db0860a-1b8c-403b-9b4e-1e56a05fc853"><ac:plain-text-body><![CDATA[ | Command used: | | ]]></ac:plain-text-body></ac:structured-macro> |
Java class: | org.dspace.browse.IndexBrowse | ||
Arguments short and long forms): | Description | ||
| Should we rebuild all the indexes, which removes old tables and creates new ones. For use with | ||
| | ||
| Execute all the remove and create SQL against the database. For use with | ||
| Actually do the indexing. Mutually exclusive with | ||
| | ||
| Write the remove and create SQL to the stdout. For use with | ||
| Create the tables only, do no attempt to index. Mutually exclusive with | ||
| Make the tables, and do the indexing. This forces | ||
| Print extra information to the stdout. If used in conjunction with | ||
| Delete all the indexes, but do not create new ones. For use with | ||
| Show this help documentation. Overrides all other arguments. |
...
Warning | ||
---|---|---|
| ||
Because this command actually deletes existing Browse Index tables, you must stop Tomcat (or your Servlet Container of choice) before executing |
By running {{\ Wiki Markup [dspace
\]/bin/dspace
index-init
}} you will completely regenerate your indexes, tearing down all existing tables and reconstructing with the new configuration.
Code Block |
---|
[dspace]/bin/dspace index-init |
By running {{\ Wiki Markup [dspace
\]/bin/dspace
index-update
}} you will reindex your full browse & search indexes without modifying the DSpace table structure. (This should be your default approach if indexing, for example, via a cron job periodically). Because it does not "tear down" the existing tables, this command can be run while DSpace (and Tomcat or similar) is still running.
Code Block |
---|
[dspace]/bin/dspace index-update |
...