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.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
remote_marc_records [2015/05/13 14:10] – [Conclusion] andre_l | configuration:remote_marc_records [2023/11/09 19:13] (current) – demiankatz | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Remote MARC Records ====== | ====== Remote MARC Records ====== | ||
Swap MARC-fullrecord to external service using RecordDriver SolrMarcRemote | Swap MARC-fullrecord to external service using RecordDriver SolrMarcRemote | ||
- | |||
- | // IMPORTANT: This page refers to a feature added in VuFind 2.5. // | ||
===== Introduction ===== | ===== Introduction ===== | ||
Line 12: | Line 10: | ||
e.g. / | e.g. / | ||
- | 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' | + | 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 44: | ||
==== 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 = | + | fullrecord = "" |
- | recordtype | + | 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 " | + | This will prevent import-marc.sh from loading the MARC-Record into the Solr-field fullrecord and mark the Solr-records as the type " |
==== 3. Populate remote service with MARC-files during indexing ==== | ==== 3. Populate remote service with MARC-files during indexing ==== | ||
Line 82: | Line 80: | ||
==== 4. Configure RecordDriver SolrMarcRemote ==== | ==== 4. Configure RecordDriver SolrMarcRemote ==== | ||
- | Copy the VUFIND_HOME_DIR/ | + | Turn on the appropriate setting in the [Record] section of [[configuration: |
<code ini> | <code ini> | ||
- | [General] | + | remote_marc_url |
- | ; Set the URI-pattern of the server which serves the raw Marc-data. | + | |
- | baseUrl | + | |
</ | </ | ||
===== Conclusion ===== | ===== Conclusion ===== | ||
- | This setup should have reduced the size of your Solr index and populated your additional http-server with the raw MARC-files. | + | This setup should have reduced the size of your Solr index and populated your additional http-server with the raw MARC-files. |
If you have questions regarding this setup please fell free to contact us: < | If you have questions regarding this setup please fell free to contact us: < | ||
---- struct data ---- | ---- struct data ---- | ||
+ | properties.Page Owner : | ||
---- | ---- | ||
configuration/remote_marc_records.txt · Last modified: 2023/11/09 19:13 by demiankatz