Hi Lewatle
a “no matches for the query” is not an error message. It just says that you oai index is empty. Since DSPACE v3 thers is a new OAI engine, and the index, an SOLR index, must be populated periodically (a nigth cron could be suited to most installations) with a command oai import
see:
https://wiki.duraspace.org/display/DSDOC3x/OAI+2.0+Server
and
http://wiki.lib.sun.ac.za/index.php/SUNScholar/Harvesting/3.X

best regards
Emilio


El 07/04/2015 a las 11:53, Lewatle Phaladi escribió:

Hi All,

I got error message on my OAI testing, when I click on Identify tab on OAI link, I get no error, when I click on SETS, no error, when I click on records I get “no matches for the query” error message even when I click on Identifiers tab I get error message, I then edited oai.cfg file as follows: still to restart Tomcat

#---------------------------------------------------------------#

#--------------------XOAI CONFIGURATIONS------------------------#

#---------------------------------------------------------------#

# These configs are used by the XOAI                            #

#---------------------------------------------------------------#

# Storage: solr | database

storage=solr

# Base solr index

solr.url=http://localhost/solr/oai

# OAI persistent identifier prefix.

# Format - oai:PREFIX:HANDLE

identifier.prefix = localhost

# Base url for bitstreams

bitstream.baseUrl = http://myurl.wits.ac.za/

# Base Configuration Directory

config.dir = /dspace-install/config/crosswalks/oai

# Description

description.file = /dspace-install/config/crosswalks/oai/description.xml

# Cache enabled?

cache.enabled = true

# Base Cache Directory

cache.dir = /dspace/install/dspace3.2/var/oai

#---------------------------------------------------------------#

#--------------OAI HARVESTING CONFIGURATIONS--------------------#

#---------------------------------------------------------------#

# These configs are only used by the OAI-ORE related functions  #

#---------------------------------------------------------------#

### Harvester settings

# Crosswalk settings; the {name} value must correspond to a declated ingestion crosswalk

# harvester.oai.metadataformats.{name} = {namespace},{optional display name}

# The display name is only used in the xmlui for the jspui there are entries in the

# Messages.properties in the form jsp.tools.edit-collection.form.label21.select.{name}

harvester.oai.metadataformats.dc = http://www.openarchives.org/OAI/2.0/oai_dc/, Simple Dublin Core

harvester.oai.metadataformats.qdc = http://purl.org/dc/terms/, Qualified Dublin Core

harvester.oai.metadataformats.dim = http://www.dspace.org/xmlns/dspace/dim, DSpace Intermediate Metadata

# This field works in much the same way as harvester.oai.metadataformats.PluginName

# The {name} must correspond to a declared ingestion crosswalk, while the

# {namespace} must be supported by the target OAI-PMH provider when harvesting content.

# harvester.oai.oreSerializationFormat.{name} = {namespace}

# Determines whether the harvester scheduling process should be started

# automatically when the DSpace webapp is deployed.

# default: false

harvester.autoStart=true

# Amount of time subtracted from the from argument of the PMH request to account

# for the time taken to negotiate a connection. Measured in seconds. Default value is 120.

#harvester.timePadding = 120

# How frequently the harvest scheduler checks the remote provider for updates,

# messured in minutes. The default vaule is 12 hours (or 720 minutes)

#harvester.harvestFrequency = 720

"oai.cfg" 106 lines, 5125 characters

Regards,

Lewatle

This communication is intended for the addressee only. It is confidential. If you have received this communication in error, please notify us immediately and destroy the original message. You may not copy or disseminate this communication without the permission of the University. Only authorised signatories are competent to enter into agreements on behalf of the University and recipients are thus advised that the content of this message may not be legally binding on the University and may contain the personal views and opinions of the author, which are not necessarily the views and opinions of The University of the Witwatersrand, Johannesburg. All agreements between the University and outsiders are subject to South African Law unless the University agrees in writing to the contrary.





------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF


_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to