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:ils:multibackend_driver

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
configuration:ils:multibackend_driver [2020/05/11 12:15] – [Indexing Your Data] demiankatzconfiguration:ils:multibackend_driver [2024/02/14 19:16] (current) demiankatz
Line 1: Line 1:
 ====== MultiBackend Driver ====== ====== MultiBackend Driver ======
  
-The MultiBackend driver allows you to connect a single VuFind instance to multiple ILS backends.+The MultiBackend driver allows you to connect a single VuFind® instance to multiple ILS backends.
  
 ===== Indexing Your Data ===== ===== Indexing Your Data =====
  
-The MultiBackend driver determines which records are associated with which ILS backends by looking for a prefix on ID values.  For each set of records, you should use a custom [[indexing:solrmarc|SolrMarc]] script to [[indexing:solrmarc#customizing_record_ids|prepend an identifier]] onto each record's ID value. The resulting IDs must be in the format **prefix.ID**, for example:+The MultiBackend driver determines which records are associated with which ILS backends by looking for a prefix on ID values.  For each set of records, you should use a custom [[indexing:solrmarc|SolrMarc]] configuration to [[indexing:solrmarc#customizing_record_ids|prepend an identifier]] onto each record's ID value. The resulting IDs must be in the format **prefix.ID**, for example:
  
 Record 12345 from library A: instance1.12345 Record 12345 from library A: instance1.12345
Line 33: Line 33:
 in your instance2.properties file. in your instance2.properties file.
  
-This will tell SolrMarc to add another level of mapping overrides that is specific to each instance. Now, if you have shared customizations that you want to apply to all instances, you can include those in marc_local.properties, but you can also put instance-specific customizations in marc_instance1.properties and marc_instance2.properties.+This will tell SolrMarc to add another level of mapping overrides that is specific to each instance. Now, if you have shared customizations that you want to apply to all instances, you can include those in marc_local.properties, but you can also put instance-specific customizations in $VUFIND_LOCAL_DIR/import/marc_instance1.properties and $VUFIND_LOCAL_DIR/import/marc_instance2.properties. For example, marc_instance1.properties could look like this, ensuring that the correct prefix is attached to record IDs: 
 + 
 +  id = 001, (pattern_map.id_prefix), first 
 +  pattern_map.id_prefix.pattern_0 = (.+)=>instance1.$1 
 + 
 +Once this is all set up, you can simply specify an appropriate configuration file with the -p switch when indexing; e.g.: 
 + 
 +  ./import-marc.sh -p instance1.properties records_from_instance1.mrc 
 ===== Configuring the Driver ===== ===== Configuring the Driver =====
  
-For each individual ILS being connected to VuFind, you will need to set up a separate ILS specific .ini file (e.g. copy Voyager.ini to instance1.ini and Koha.ini to instance2.ini).  You will also need to set up a [[https://github.com/vufind-org/vufind/blob/master/config/vufind/MultiBackend.ini|MultiBackend.ini]] file to specify which of the ID prefixes set up in the previous step maps to which of the individual ILS configurations.  Further documentation can be found in all of the relevant .ini files.+For each individual ILS being connected to VuFind®, you will need to set up a separate ILS specific .ini file (e.g. copy Voyager.ini to instance1.ini and Koha.ini to instance2.ini).  You will also need to set up a [[https://github.com/vufind-org/vufind/blob/dev/config/vufind/MultiBackend.ini|MultiBackend.ini]] file to specify which of the ID prefixes set up in the previous step maps to which of the individual ILS configurations.  Further documentation can be found in all of the relevant .ini files.
  
 For user authentication the MultiILS driver can be used to allow users to log in with a library card of the selected library. For user authentication the MultiILS driver can be used to allow users to log in with a library card of the selected library.
Line 72: Line 80:
   drivers[] = comb   drivers[] = comb
  
 +
 +===== Related Video =====
 +
 +See [[videos:ils_drivers_2|ILS Drivers, Part 2]] for further discussion of the MultiBackend driver.
 ---- struct data ---- ---- struct data ----
 +properties.Page Owner : 
 ---- ----
  
configuration/ils/multibackend_driver.1589199318.txt.gz · Last modified: 2020/05/11 12:15 by demiankatz