Search service Solr One or two things (1) – SOLR-5.5 Use comes with Jetty or Tomcat to build a stand-alone search server

Solr, what is solr, is what you want to eat is “rotten” and can’t be eaten, out of date~

Well. . . Just kidding, the pronunciation is “search”, an open source framework dedicated to search, lunce will not say, it is not easy to use, trouble

Let’s talk about solr
At present, the latest update is 6.0, which was updated on April 7-8. Brother doesn’t like to use the new version, there will be more or less bugs. After centos7 came out, I have been using 6.5 so far (I can’t bear 7. .West)

6.0 I also tried to install, but it will report an error, the log file can’t be found, and I can’t create a new one by myself. I went to the official jira and found that there is indeed such a bug, but it’s already Close status, it is estimated to be fixed

Then abandon 6.0, let’s talk about the previous version 5.5 first.

First you have to download this version of the package

< div> Address:

http://archive.apache.org/dist/lucene/solr/5.5.0/
Download and upload (chuang) to your linux
As follows, I put it in this folder and unzip it here

< div>

The name is too complicated~! Change the door!
Okay, let’s get to the main topic
After solr5, it comes with jetty as a server, so you can do it yourself Start, the built-in one is a bit more convenient than using tomcat in solr4.
cd solr5 after entering
Run like this:

Start solr…
Start successfully, happy searching! (Why did I suddenly think of HHKB? I beg to give it away~~~)
Then 8983 is the port of the search service.
See the wood Yes, the startup was successful… I won’t say anything about this logo. My first reaction was Huawei

Here is some version information:

< div> Okay, the above is jetty. It’s simple.

So some children’s shoes like to use tomcat deployment. That certainly has his reason.