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 revision | Next revisionBoth sides next revision | ||
configuration:course_reserves [2023/05/31 18:18] – Add instructions for multiple reserve cores dltj | configuration:course_reserves [2023/05/31 21:02] – [Multiple reserve Solr cores] Revise instructions. dltj | ||
---|---|---|---|
Line 46: | Line 46: | ||
If your Solr installation has more than one core for reserves (for instance, your Solr service is used by more than one VuFind installation), | 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.) Copy module/VuFind/ | + | 1.) Create |
- | 2.) Change | + | < |
+ | <?php | ||
+ | namespace < | ||
+ | |||
+ | class SolrReservesBackendFactory extends \VuFind\Search\Factory\SolrReservesBackendFactory | ||
+ | { | ||
+ | public function __construct() | ||
+ | { | ||
+ | parent:: | ||
+ | | ||
+ | } | ||
+ | } | ||
+ | </ | ||
- | 3.) Add a factory plugin to the new factory in your module' | + | 2.) Add a factory plugin to the new factory in your module' |
< | < | ||
- | | + | ' |
+ | array( | ||
+ | | ||
array( | array( | ||
' | ' | ||
- | | + | |
- | ' | + | ' |
- | ) | + | ) |
) | ) | ||
+ | ) | ||
</ | </ | ||
---- struct data ---- | ---- struct data ---- |
configuration/course_reserves.txt · Last modified: 2023/11/09 18:47 by demiankatz