The Apache Solr Lucene is a full-text search system of open source which is based on. Derived version of Apache Solr, which was to work as a service in the Windows environment is solr.exe is. Official site of Apache Solr is http://lucene.apache.org/solr/ .
Boot program start.jar is included standard with Apache Solr. Instead of start.jar Solr.Exe You can then be used to, to run as a Windows service Apache Solr easily. Also, solr.exe You can also run as a console process of normal as well as start.jar not only as a service.
It is a form of distribution only solr.exe. I will fit in Solr 4.9.0. binary x86 (32-bit), the x64 (64-bit) both have been included. Please use it to add to Solr existing directory.
It is distributed in the form solr.exe, was bundled with Solr 4.9.0. is the x86 (32-bit) version. If environment where Java is installed, you can move the Solr this alone.
It is distributed in the form solr.exe, bundled with (JRE 8u11) Java execution environment and Solr 4.9.0. is the x86 (32-bit) version. Even in environments that are not installed Java, you can move the Solr.
It is distributed in the form solr.exe, was bundled with Solr 4.9.0. is the x64 (64-bit) version. If environment where Java is installed, you can move the Solr this alone.
It is distributed in the form solr.exe, bundled with (JRE 8u11) Java execution environment and Solr 4.9.0. is the x64 (64-bit) version. Even in environments that are not installed Java, you can move the Solr.
How to use
solr.exe installing is very easy. solr.exe by downloading, please copy (where start.jar is put) installation directory of Solr. Solr is in the following description
C:\solr It is assumed that it is deployed to. If the directory have deployed Solr is different, as appropriate, Please replace.
First solr.exe Let's try to run as a console a normal process in order to confirm that to work properly. Enter the following command and navigate to the directory where you have installed the Solr.
You can start the Solr now. You can be sure that the Solr is running by accessing the http://localhost:8983/solr/ if remains standard configuration. To stop the solr Ctrl + C and then enter the.
Enter the following command to install as a service.
C:\solr>solr.exe -install solr service installed.
Installation of the service is now complete. [Control Panel] -> [Administrative Tools] -> [Services], solr service named appears. The default installation, logon service (running account) local system account to startup type is
automatic will be. You can also install the service in different configurations by specifying the service configuration options. Please refer to the service configuration options for more information.
You have installed solr and enter the following command to start the service.
C:\>net start solr solr service was started.
Enter the following command to stop the service.
C:\>net stop solr solr service is stopping. solr service was stopped.
The stopped state solr enter the following command to uninstall the service.
C:\solr>solr.exe -remove solr service is removed.
Service configuration options
Service configuration options during installation, Solr.Exe allows you to specify when you install as a service. The service configuration options during installation
-install must be specified before than.
-install argument that you specify later than is passed as an argument when running the service.
The startup type
manually do the following: If you want to install the service in the.
C:\>solr.exe -m -install
|Service configuration options||Description|
|-install||I installed as a service. The other configuration options, always
|-n <display-name>||I will specify the display name of the service. Service display name of the default
|-i||I will allow the service to interact with the desktop.|
|-m||The startup type
|-d <dependencies>||I will specify the service dependencies. For example, if the service is in need of EventLog service,
|-u <username>||I will specify the execution of the service account. As a built-in system account, in addition to the regular user account
|-p <password>||I specify the password for the service account run. If you want to use the built-in system account, you do not need to specify a password.|
|-s||After you install the service, and then start the service immediately.|
Service configuration option during the uninstall is, solr will be able to specify when you uninstall the service. The service configuration option during the uninstall
-remove must be specified before than.
Do the following: If you want to uninstall and stop the service.
C:\>solr.exe -s -remove
|Service configuration options||Description|
|-remove||I will uninstall the service. Other configuration options is always
|-s||Before you uninstall the service, stop the service.|