Giter VIP home page Giter VIP logo

dc2solr's Introduction

dc2Solr

Utility to harvest records from Digital Commons, via OAI-PMH, and index them in Apache Solr.

Instructions for Use:

  1. Clone dc2Solr repository: git clone http://github.com/WSULib/dc2Solr
  2. Set system specific variables in dc2Solr.py
    • baseURL = Location of Solr core for indexing records
    • baseOAI = Digital Commons URL + "do/oai/?" suffix (e.g. http://digitalcommons.wayne.edu/do/oai/?)
    • saxonLocation = This utility uses the Saxon Java command line program to perform XSL transformations, which can be downloaded here. This variable must point to the location of the Saxon jar file (likely "Saxon9he.jar")
  3. Configure Solr - an rough example schema is located in the /SolrConfig directory, this can surely be optimized for faceting and memory consumption.
  4. Change permissions on directories "setsXML" and "solrXML" such that python and Saxon can download and write to them.
  5. Finally, run "python dc2Solr.py" with the desired actions to perform:
    • download = Download all OAI sets from Digital Commons
    • transform = Transforms OAI XML to Solr ready XML via the XSLT stylesheet "dc2solr.xsl"
    • index = Indexes all Solr ready XML documents in "solrXML" into Solr
    • all = Performs all three actions, in order. This can be used to run this utility as a fully automated cron job.

Wayne State University Libraries, 2013

dc2solr's People

Contributors

ghukill avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.