Page History
Table of Contents | ||||||
---|---|---|---|---|---|---|
|
Overview
DSpace offers two options to index content for Browsing & Searching:
- Traditional Browse & Search (via Lucene & Database indexes) - this is enabled by default
- Faceted/Filtered Browse & Search (via Solr & DSpace Discovery) - available for XMLUI only and disabled by default
This particular page only describes the "Traditional Browse & Search" indexing processes. For more information on Faceted/Filtered Browse & Search, please see DSpace Discovery, in particular Discovery SOLR Index Maintenance .
Creating the Browse & Search Indexes
...
Command used: |
|
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 |
---|
If you are using the SOLR Browse DAOs it is not required to run this script as the data are stored in the SOLR search core that need to be recreated using the Discovery maintenance script |
Running the Indexing Programs
...
Code Block |
---|
[dspace]/bin/dspace index-update |
Warning |
---|
If you are using the SOLR Browse DAOs you don't need to run this script as the data are stored in the SOLR search core. You need to recreate the indexes usign the Discovery maintenance script |
Destroy and Rebuild Browse Tables
...
Because Browse Indexes are stored in database tables, remember to run index-init
after adding any new definitions in the dspace.cfg
to have the indexes created and the data indexed.
Info |
---|
Since DSpace 3.0 a SOLR DAOs implementation of the browse system is provided. If you are using the SOLR DAOs you don't need to run the script described in this page but instead use the Discovery maintenance script. Browse indexing in SOLR is done withing the Search Indexing process. |
Search Index Customization
...