Warning: This page has not been updated in over over a year and may be outdated or deprecated.
indexing:dspace
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
indexing:dspace [2020/09/21 13:53] – demiankatz | indexing:dspace [2023/08/16 19:52] (current) – demiankatz | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== How to index DSpace with VuFind | + | ====== How to index DSpace with VuFind® |
- | ===== 1. Make sure OAI-PMH is turned on in DSpace ===== | + | ===== 1. Make sure OAI-PMH is turned on and properly indexed |
+ | |||
+ | To retrieve records from DSpace, you will need to use the [[indexing: | ||
In newer versions of DSpace, OAI-PMH should be enabled by default; however, in DSpace 3.x and earlier, some [[indexing: | In newer versions of DSpace, OAI-PMH should be enabled by default; however, in DSpace 3.x and earlier, some [[indexing: | ||
- | ===== 2. Import records into VuFind | + | You can check whether the service is enabled by visiting < |
+ | |||
+ | {{ : | ||
+ | |||
+ | Before harvesting data from DSpace to VuFind®, you should check that DSpace' | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | In the above image, if you click Metadata, it should provide you with an oai_dc-formatted metadata response. | ||
+ | |||
+ | ==== Fixing Missing Indexing ==== | ||
+ | |||
+ | If metadata does not display correctly through the server (for example, if you receive an "Error No matches for the query" message), this is probably a sign that DSpace' | ||
+ | |||
+ | <code bash> | ||
+ | ./dspace oai import -o -c | ||
+ | </ | ||
+ | |||
+ | The meaning of parameters –o and –c is as follows: | ||
+ | |||
+ | * -o Optimize index after indexing | ||
+ | * -c Clears the Solr index before indexing (it will import all items again) | ||
+ | |||
+ | ===== 2. Import records into VuFind® | ||
- | These steps use VuFind's OAI-PMH harvest tool. You can learn more about it on [[indexing:oai-pmh|this page]]. | + | These steps use VuFind®' |
- Modify **$VUFIND_LOCAL_DIR/ | - Modify **$VUFIND_LOCAL_DIR/ | ||
Line 19: | Line 44: | ||
injectId=" | injectId=" | ||
dateGranularity=auto | dateGranularity=auto | ||
- | harvestedIdLog=harvest.log</ | + | harvestedIdLog=harvest.log |
+ | combineRecords=true</ | ||
- Run these commands:< | - Run these commands:< | ||
php harvest_oai.php | php harvest_oai.php | ||
Line 33: | Line 59: | ||
</ | </ | ||
- | After that processing completes, retry the harvest process on the VuFind | + | After that processing completes, retry the harvest process on the VuFind® |
===== 3. Customize Import Rules (optional) ===== | ===== 3. Customize Import Rules (optional) ===== | ||
- | If you wish to customize the way your records are ingested, see the [[indexing: | + | If you wish to customize the way your records are ingested, see the [[indexing: |
:!: If you change import rules, note that you will need to remove your $VUFIND_LOCAL_DIR/ | :!: If you change import rules, note that you will need to remove your $VUFIND_LOCAL_DIR/ | ||
Line 43: | Line 69: | ||
===== 4. Customize Record Display (optional) ===== | ===== 4. Customize Record Display (optional) ===== | ||
- | By default, | + | By default, |
---- struct data ---- | ---- struct data ---- | ||
+ | properties.Page Owner : | ||
---- | ---- | ||
indexing/dspace.1600696434.txt.gz · Last modified: 2020/09/21 13:53 by demiankatz