Skip to content
haschart edited this page Nov 18, 2016 · 6 revisions

SolrMarc is designed to read MARC records and to extract data from those records to build an Apache Solr index. It relies on the library Marc4j for reading MARC records and then uses a user-provided indexing specification to determine what fields are to be created for the Solr input document, and where that data should be extracted from, lastly it uses the SolrJ library for sending the Solr input documents to the Solr index. The SolrMarc indexer has long been used by Blacklight (http://projectblacklight.org/) and this new version has already been integrated with VuFind (http://www.vufind.org/).

SolrMarc provides a rich set of techniques for mapping the tags, fields, and subfields contained in the MARC record to the fields you wish to include in your Solr documents, but it also allows the creation of custom indexing functions if you cannot achieve what you require using the predefined mapping techniques.