- A system administrator must install the hubzero-solr RedHat or Debian Package using a package manager such as yum or aptitude
- On RedHat: sudo yum install hubzero-solr
- On Debian: sudo apt-get install hubzero-solr
- To start the service: sudo service hubzero-solr start OR sudo /etc/init.d/hubzero-solr start>
- A Hub administrator may configure the Hubzero CMS to use Solr instead of basic search by going to Components > Search > Options > Engine > Apache Solr
- A Hub administrator must further configure the service by clicking the “Solr” tab in the Search Options. The default parameters will work out-of-the-box for Open Source Hubs. Hubzero Managed Hubs will use the following port-numbering.
- Development: 2090
- Stage: 2091
- Scan/QA: 2093
- Production: 2093
The default configuration should be acceptable. Running Solr on another host, changing the core, the path or log path are at the Hub Administrator's own risk.
- Click Save & Close
- Return to the Search and you should see a status page like the one below:
Note: If there were any issues with configuration, the following screen will appear:
This would be a point where a support ticket is submitted to the system administrator of Hubzero team for further assistance.
- If this is the first time the Hub has used Solr as its search engine, the index will need to be filled with current data
- This is a lengthy operation during the first run
- Unless there is massive data corruption, this will only need to be performed once
- To check progress of the index process, you may click on Index Queue tab in the Administrative Search interface
- Once the full index has been built, searching can be completed from the enabled search interfaces