Warning: This page has not been updated in over over a year and may be outdated or deprecated.
administration:starting_and_stopping_solr
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
administration:starting_and_stopping_solr [2023/10/24 13:44] – demiankatz | administration:starting_and_stopping_solr [2023/10/24 13:47] (current) – Removed notes about releases prior to 3.0. demiankatz | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Starting and Stopping Solr ====== | ====== Starting and Stopping Solr ====== | ||
+ | |||
+ | :!: This page applies to VuFind® versions 3.0 and newer; if you are using a very old release, see the "Old revisions" | ||
Once VuFind® is installed, it will only respond to search requests if its Solr back-end is active (unless, of course, you are relying on a third-party discovery service instead of a local index, in which case you can disregard this page entirely). | Once VuFind® is installed, it will only respond to search requests if its Solr back-end is active (unless, of course, you are relying on a third-party discovery service instead of a local index, in which case you can disregard this page entirely). | ||
Line 14: | Line 16: | ||
chmod +x solr.sh | chmod +x solr.sh | ||
- | |||
- | :!: Prior to VuFind® 3.0, solr.sh was named vufind.sh; be sure to use the command appropriate for your version. | ||
Note: If you previously rebooted your system without manually stopping Solr, the script may mistakenly believe that it is still running. | Note: If you previously rebooted your system without manually stopping Solr, the script may mistakenly believe that it is still running. | ||
Line 56: | Line 56: | ||
* Type: solr start | * Type: solr start | ||
- | Note that some of the scripting for this command is created automatically as part of the install.bat setup process. | + | Note that some of the scripting for this command is created automatically as part of the install.php setup process. |
- | + | ||
- | :!: Prior to VuFind® 3.0, solr.bat was named vufind.bat; be sure to use the command appropriate for your version. Prior to VuFind® 1.0RC2, Windows support was not included. | + | |
===== Stopping Solr Manually ===== | ===== Stopping Solr Manually ===== | ||
Line 67: | Line 65: | ||
./solr.sh stop | ./solr.sh stop | ||
- | |||
- | :!: Prior to VuFind® 3.0, solr.sh was named vufind.sh; be sure to use the command appropriate for your version. | ||
==== Windows Method ==== | ==== Windows Method ==== | ||
- | When using VuFind® 3.0 or newer, you can stop Solr from the command line in Windows: | + | You can stop Solr from the command line in Windows: |
* At a command prompt, switch to your VuFind® directory. | * At a command prompt, switch to your VuFind® directory. | ||
* Type: solr stop | * Type: solr stop | ||
- | |||
- | In VuFind® 2.x or earlier, to stop a manually-started Solr instance under Windows, open the command prompt window where the server is running and hit Ctrl-C. | ||
===== Restarting Solr Manually ===== | ===== Restarting Solr Manually ===== | ||
Line 86: | Line 80: | ||
./solr.sh restart | ./solr.sh restart | ||
- | |||
- | :!: Prior to VuFind® 3.0, solr.sh was named vufind.sh; be sure to use the command appropriate for your version. | ||
==== Windows Method ==== | ==== Windows Method ==== | ||
- | When using VuFind® 3.0 or newer, you can restart Solr from the command line in Windows: | + | You can restart Solr from the command line in Windows: |
* At a command prompt, switch to your VuFind® directory. | * At a command prompt, switch to your VuFind® directory. | ||
* Type: solr restart | * Type: solr restart | ||
- | |||
- | In VuFind® 2.x and earlier, there is no graceful way to restart a manually-started Solr instance under Windows. | ||
===== Killing an Unresponsive Solr Process ===== | ===== Killing an Unresponsive Solr Process ===== | ||
Line 190: | Line 180: | ||
==== Windows Method ==== | ==== Windows Method ==== | ||
- | As of VuFind® 3.0, Solr can be started as a background process from the command line, so it should be possible manage it from within Windows; however, detailed instructions and best practices have not been developed as of this writing. Please feel free to contribute your own recommendations! | + | Solr can be started as a background process from the command line, so it should be possible manage it from within Windows; however, detailed instructions and best practices have not been developed as of this writing. Please feel free to contribute your own recommendations! |
===== Taking the User Interface Offline ===== | ===== Taking the User Interface Offline ===== |
administration/starting_and_stopping_solr.txt · Last modified: 2023/10/24 13:47 by demiankatz