About Features Downloads Getting Started Documentation Events Support GitHub

Love VuFind®? Consider becoming a financial supporter. Your support helps build a better VuFind®!

Site Tools


Warning: This page has not been updated in over over a year and may be outdated or deprecated.
configuration:remote_marc_records

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
remote_marc_records [2015/05/13 18:07] – [4. Configure RecordDriver SolrMarcRemote] demiankatzconfiguration:remote_marc_records [2019/02/04 20:36] – [2. Modify marc_local.properties] demiankatz
Line 12: Line 12:
 e.g. /00/00/34/23/34.mrc e.g. /00/00/34/23/34.mrc
  
-By usage of HTTP-GET-Requests the .mrc-files are being served. We extended the SolrMarc-RecordDriver by implementing a method that gets the binary .mrc-file from an URL configured in the RecordDriver's ini (SolrMarcRemote.iniif the fullrecord-field is empty or non-set in the current index.+By usage of HTTP-GET-Requests the .mrc-files are being served. We extended the SolrMarc-RecordDriver by implementing a method that gets the binary .mrc-file from an URL configured in the [Record] section in config.ini if the fullrecord-field is empty or non-set in the current index.
 All the stock-methods of SolrMarc-RecordDriver for parsing binary MARC-data still work and are used by the new RecordDriver SolrMarcRemote. All the stock-methods of SolrMarc-RecordDriver for parsing binary MARC-data still work and are used by the new RecordDriver SolrMarcRemote.
  
Line 46: Line 46:
 ==== 2. Modify marc_local.properties ==== ==== 2. Modify marc_local.properties ====
  
-Set in your marc.properties / marc_local.properties:+Set in your marc_local.properties:
  
 <code properties> <code properties>
-fullrecord =  FullRecordAsMarc +fullrecord = "" 
-recordtype = "marcremote"+record_format = "marcremote"
 </code> </code>
 +
 +:!: In VuFind 5.x and earlier, use "recordtype" in place of "record_format."
  
 This will prevent import-marc.sh from loading the MARC-Record into the Solr-field fullrecord and mark the Solr-records as the type "marcremote" in order to load the correct RecordDriver in VuFind. This will prevent import-marc.sh from loading the MARC-Record into the Solr-field fullrecord and mark the Solr-records as the type "marcremote" in order to load the correct RecordDriver in VuFind.
Line 82: Line 84:
 ==== 4. Configure RecordDriver SolrMarcRemote ==== ==== 4. Configure RecordDriver SolrMarcRemote ====
  
-Turn on the appropriate setting in the [Record] section of [[config.ini]]:+Turn on the appropriate setting in the [Record] section of [[configuration:files:config.ini]]:
  
 <code ini> <code ini>
configuration/remote_marc_records.txt · Last modified: 2023/11/09 19:13 by demiankatz