oclc online computer library center srw & dspace ralph levan oclc research

9
OCLC Online Computer Library Center SRW & DSpace Ralph LeVan OCLC Research

Upload: emily-blevins

Post on 27-Mar-2015

217 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: OCLC Online Computer Library Center SRW & DSpace Ralph LeVan OCLC Research

OCLC Online Computer Library Center

SRW & DSpaceRalph LeVan

OCLC Research

Page 2: OCLC Online Computer Library Center SRW & DSpace Ralph LeVan OCLC Research

DSpace Uses LuceneDSpace Uses LuceneApache Lucene

http://lucene.apache.org

DSpace implementation uses a simple indexing scheme for DC records

No browsable indexes

Page 3: OCLC Online Computer Library Center SRW & DSpace Ralph LeVan OCLC Research

OCLC Open Source SRWOCLC Open Source SRW

Built on Apache Axis

SRW Protocol Engine

SRWDatabase Interface for local databases– Currently has support for Pears and DSpace

Page 4: OCLC Online Computer Library Center SRW & DSpace Ralph LeVan OCLC Research

SRWLuceneDatabaseSRWLuceneDatabaseOnly implements enough support for Lucene to support DSpace

Produces an Explain record from data in a properties file

Page 5: OCLC Online Computer Library Center SRW & DSpace Ralph LeVan OCLC Research

DSpace.SRWDatabase.propsDSpace.SRWDatabase.propsxmlSchemas=dc

dc=defaultConverter

dc.identifier=info:srw/schema/1/dc-v1.1

dc.location=http://www.loc.gov/zing/srw/dc-schema.xsd

dc.title=dc: Dublin Core Elements

databaseInfo.title=DSpace Database

databaseInfo.description=Records stored in our local DSpace Repository

databaseInfo.contact=Ralph LeVan (mailto:[email protected])

indexSynonym.au=author

indexSynonym.dc.title=title

Page 6: OCLC Online Computer Library Center SRW & DSpace Ralph LeVan OCLC Research

DSpace.SRWDatabase.propsDSpace.SRWDatabase.propscontextSet.cql=info:srw/cql-context-set/1/cql-v1.1

contextSet.dc=info:srw/cql-context-set/1/dc-v1.1

# The default access point and result-set references

qualifier.cql.serverChoice = 1=1016

qualifier.cql.resultSetId = @set

# Dublin Core access points

qualifier.dc.title = 1=4

qualifier.au = 1=1003

Page 7: OCLC Online Computer Library Center SRW & DSpace Ralph LeVan OCLC Research

CQL Searches ConvertedCQL Searches Converted

Query parsed using Mike Taylor’s parser

Traverse the tree and generate a Lucene query– Map cql indexes to Lucene indexes– Only supports AND, OR and NOT– Only supports keyword searching (relation

‘=‘)

Page 8: OCLC Online Computer Library Center SRW & DSpace Ralph LeVan OCLC Research

DSpace Records FetchedDSpace Records Fetched

Lucene only stores handles for DSpace records

Handles used to get records from DSpace

DSpace records converted to DC records

Page 9: OCLC Online Computer Library Center SRW & DSpace Ralph LeVan OCLC Research

SRW DSpace ExampleSRW DSpace Examplehttp://repository.ust.hk/SRW/search/DSpace? query=dc.creator+%3D+%22smith%22&version=1.1 &operation=searchRetrieve &recordSchema=info%3Asrw%2Fschema%2F1%2Fdc-v1.1 &maximumRecords=1&startRecord=1 &resultSetTTL=0