OpenAIRE OAI context ListIdentifiers not working

65 views
Skip to first unread message

Francis Brouns

unread,
Jul 21, 2016, 9:09:29 AM7/21/16
to DSpace Technical Support
Hi all,

after adding the correct metadata to the records and modifying the xoai.xml, the OpenAIRE context now is working partly. The identify, sets, records are all working. Only when I access ListIdentifiers from the page listing the context or the menu Identifiers from within the OpenAIRE context (using the GUI) (openaire?verb=ListIdentifiers&metadataPrefix=oai_dc) it still reports that there are no matches for the query. The default context and the driver context are working properly.

I looked in solr, dspace and tomcat logs. It does not seem that there is a SOLR query for ListIdentifiers like there is for the other queries. The solr log does not log anything when I access ListIdentifiers, the tomcat log shows

"GET /dspace-oai/openaire?verb=ListIdentifiers&metadataPrefix=oai_dc HTTP/1.1" 200 549

Any idea what I am missing?

kind regards,
Francis Brouns

Tim Donohue

unread,
Jul 21, 2016, 10:30:02 AM7/21/16
to Francis Brouns, DSpace Technical Support

Hi Francis,

Did you happen to forget to run the OAI indexing command ([dspace]/bin/dspace oai import)?

Unfortunately, at this time, the OAI index is not updated automatically. So, you need to schedule this command to run on a regular basis (nightly, hourly) in order to keep OAI-PMH updated.

More information at:

https://wiki.duraspace.org/display/DSDOC5x/OAI#OAI-OAI-PMHServerMaintenance

If you did run that command, then you also might want to check your DSpace logs for any errors being reported there (if any)

- Tim

--
You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dspace-tech...@googlegroups.com.
To post to this group, send email to dspac...@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

-- 
Tim Donohue
Technical Lead for DSpace & DSpaceDirect
DuraSpace.org | DSpace.org | DSpaceDirect.org

Francis Brouns

unread,
Jul 21, 2016, 5:02:46 PM7/21/16
to DSpace Technical Support, francis...@ou.nl
Hi Tim,

thanks for your quick response and my apologies for not explaining well what I did. I had run oai import before, after I had created the items. 

I then accessed the oai GUI. That shows the three contexts: default, driver and openaire, each with buttons to Identify, List Sets, List Records and List identifiers. For the driver context the items are shown when I list sets, records or identifiers. For the openaire context the items are shown when I list sets or records. Identifiers are shown there and I can access metadata. However when I click the button List Identifiers the No results for this query is returned. Because the identifiers were shown when I select List Records, I did not understand why List identifiers did not return results.



The dspace, solr or tomcat logs did not show any errors.

Anyhow, now it is working again, after I created some more items and ran oai import again.

Thanks again for your support.
Francis




Reply all
Reply to author
Forward
0 new messages