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.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
configuration:course_reserves [2019/11/19 19:51] – [Solr-Based Reserves] demiankatz | configuration:course_reserves [2023/05/31 21:02] – [Multiple reserve Solr cores] Revise instructions. dltj | ||
---|---|---|---|
Line 40: | Line 40: | ||
| | ||
-h or -? display this help information. | -h or -? display this help information. | ||
+ | </ | ||
+ | |||
+ | ==== 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), | ||
+ | |||
+ | 1.) Create module/< | ||
+ | |||
+ | < | ||
+ | <?php | ||
+ | namespace < | ||
+ | |||
+ | class SolrReservesBackendFactory extends \VuFind\Search\Factory\SolrReservesBackendFactory | ||
+ | { | ||
+ | public function __construct() | ||
+ | { | ||
+ | parent:: | ||
+ | $this-> | ||
+ | } | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | 2.) Add a factory plugin to the new factory in your module' | ||
+ | |||
+ | < | ||
+ | ' | ||
+ | array( | ||
+ | ' | ||
+ | array( | ||
+ | ' | ||
+ | array( | ||
+ | ' | ||
+ | ) | ||
+ | ) | ||
+ | ) | ||
</ | </ | ||
---- struct data ---- | ---- struct data ---- | ||
+ | properties.Page Owner : | ||
---- | ---- | ||
configuration/course_reserves.txt · Last modified: 2023/11/09 18:47 by demiankatz