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 14:10] andre_lconfiguration: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 ====
  
-Copy the VUFIND_HOME_DIR/config/vufind/SolrMarcRemote.ini to VUFIND_LOCAL_DIR/config/vufind/SolrMarcRemote.ini and adjust the settings to your needs:+Turn on the appropriate setting in the [Record] section of [[configuration:files:config.ini]]:
  
 <code ini> <code ini>
-[General] +remote_marc_url = http://your.marc.record.server/%s
-; Set the URI-pattern of the server which serves the raw Marc-data. +
-baseUrl        = http://your.marc.record.server/%s+
 </code> </code>
  
Line 93: Line 93:
  
 This setup should have reduced the size of your Solr index and populated your additional http-server with the raw MARC-files. VuFind should load all records flawlessly by pulling the raw MARC-files if they are needed from the additional http-server. This setup should have reduced the size of your Solr index and populated your additional http-server with the raw MARC-files. VuFind should load all records flawlessly by pulling the raw MARC-files if they are needed from the additional http-server.
-If you have questions regarding this setup please fell free to contact us: team@finc.info+If you have questions regarding this setup please fell free to contact us: <team@finc.info>
  
 ---- struct data ---- ---- struct data ----
 ---- ----
  
configuration/remote_marc_records.txt · Last modified: 2023/11/09 19:13 by demiankatz