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 | |||
configuration:course_reserves [2023/11/09 18:42] – demiankatz | configuration:course_reserves [2023/11/09 18:47] (current) – demiankatz | ||
---|---|---|---|
Line 11: | Line 11: | ||
===== Solr-Based Reserves ===== | ===== Solr-Based Reserves ===== | ||
- | Starting with VuFind® 1.3, you can configure the software to use a Solr index for course reserves searching instead of the ILS driver. | + | You can configure the software to use a Solr index for course reserves searching instead of the ILS driver. |
1.) Edit the [Reserves] section of [[configuration: | 1.) Edit the [Reserves] section of [[configuration: | ||
- | 2.) Turn on the reserves Solr core by editing solr/solr.xml to uncomment | + | 2.) Load data into the index by running the util/index_reserves.php tool to extract it from your ILS. ILS extraction requires support in the [[development:plugins: |
- | 3.) Load data into the index by running the util/ | + | ==== index_reserves.php |
- | ==== index_reserves.php command-line parameters (VuFind® 1.4 or newer) ==== | + | You can load data into your Solr reserves index by running the '' |
< | < | ||
Line 44: | Line 44: | ||
==== Multiple reserve Solr cores ==== | ==== 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), | + | Starting with VuFind® 9.0, 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 : | properties.Page Owner : | ||
---- | ---- | ||
configuration/course_reserves.txt · Last modified: 2023/11/09 18:47 by demiankatz