Get the App
SLTechnology News&Howtos  ›  Servers  › 

Solr5.5.5 standalone deployment (without using tomcat)

Shulou Source: shulou.com Published: 2022-06-03 07:54:25 12月06日 Update

Solr, as a client, does not need to rely on tocmat since version 5. It can be started independently.

The solr I downloaded is version 5.5.5. After downloading the solr, the directory is as follows:

On my win7 system, enter the current directory from cmd and execute the command: bin\ solr.cmd start

It is important to note that for jdk7 available in versions below solr6, you can only use jdk8 from solr6, and there is currently no version available for jdk9.

Check to see if solr is started and some environments: bin\ solr.cmd status

After startup, you can access it from the browser: there is no screenshot here in localhost:8983/solr/index.html, and it can be accessed normally. At this time, there should be no index library. If it is created from the page, an error will be reported. This should be solr_home (if the installation mentioned above starts after the download and decompression, nothing is modified. The solr_home here refers to the directory solr-5.5.5\ server\ solr) that can be created here. Some people create a folder directly in the solr-5.5.5\ server\ solr directory. Name it index library name, and then copy the configuration file, which is one way, you can also use the command to operate in the cmd window: bin\ solr.cmd create-c index library name

If you look at the information, you can see that the command creation is also to create a folder and automatically copy the configuration, either way.

After executing the refresh page, you can see the testCore index library you just created.

Tags: Index version directory command file page copy folder method configuration no information name customer client screenshot time browser environment Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno OPPO Reno Shulou Tech Info NVidia Apple Docker