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:course_reserves

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
configuration:course_reserves [2019/11/19 19:51] – [Solr-Based Reserves] demiankatzconfiguration:course_reserves [2023/05/31 18:18] – Add instructions for multiple reserve cores dltj
Line 40: Line 40:
      Default template is BIB_ID,COURSE,INSTRUCTOR,DEPARTMENT      Default template is BIB_ID,COURSE,INSTRUCTOR,DEPARTMENT
  -h or -? display this help information.  -h or -? display this help information.
 +</code>
 +
 +==== Multiple reserve Solr cores ====
 +
 +If your Solr installation has more than one core for reserves (for instance, your Solr service is used by more than one VuFind installation), you can change the name of the reserves core.
 +
 +1.) Copy module/VuFind/src/VuFind/Search/Factory/SolrReservesBackendFactory.php into your VuFind module directory.
 +
 +2.) Change $this->solrCore in the constructor to the name of the reserves core.
 +
 +3.) Add a factory plugin to the new factory in your module's "module.config.php"
 +
 +<code>
 +      'search_backend' =>
 +      array(
 +        'factories' =>
 +        array(
 +          'SolrReserves' => '<your_module>\Search\Factory\SolrReservesBackendFactory',
 +        )
 +      )
 </code> </code>
 ---- struct data ---- ---- struct data ----
 +properties.Page Owner : 
 ---- ----
  
configuration/course_reserves.txt · Last modified: 2023/11/09 18:47 by demiankatz