Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Solr5.5.5 standalone deployment (without using tomcat)

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

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.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report