Search service SOLR One or two things (1)-solr-5.5 use your own jetty or Tomcat to build a standalone search server

Source: Internet
Author: User
Tags solr

SOLR, what is SOLR, is what you want to eat "rancid", can't eat, out of date~

Well ... A joke, pronunciation is ' search ', dedicated to search for an open source framework, lunce do not say, do not use, trouble

Let's talk about SOLR. The latest update is 6.0, April 7-8 Update, elder brother is not too like to use the new version, more or less will have bug,centos7 out after I use is 6.5 (really unbearable 7 ah ...) West Bar)

6.0 I also try to dress, but will error, log files can not find, their own new one also can not, go to the official Jira look, found that there is really such a bug, but already close status, estimated fix it

So abandon 6.0 don't say, let's talk about last version 5.5.

First you have to download this version of the package

Address: http://archive.apache.org/dist/lucene/solr/5.5.0/download post-upload (Chuang) to your Linux as follows I put it in this folder, and unzip the name is too complicated!! Hit the door and change one! Good, into the subject after SOLR5, since brought the jetty as a server, can self-boot, with more than ever SOLR4 use Tomcat handy a little CD SOLR5 into after this run: Start SOLR ... Start successfully, Happy searching! (Why did I suddenly think of hhkb?)  I beg to send a AH ~ ~ ~ 8983 is the port of the search service to see the wood has, the start of success ... This logo I will not say, my first reaction is that the Huawei side is a number of version information: OK, the above is jetty, simple bar Then some children's shoes like to use Tomcat deployment what to pinch good is tomcat, although slightly too troublesome, since the official use of jetty, That must have been his reason. Unzip the tomcat7 to this directory and rename the WebApp folder under the Solr5\server\solr-webapp directory to TOMCAT7 under WebApps and renamed SOLR in solr5/ All jar packages in the Server/lib/ext directory are added to the SOLR project to remember that this directory modification has just been put into TOMCAT7 in SOLR's web. Xml release comment, and replaces the second line with the white part as the Just directory: Wq save exit Copy the log file to the last step in Solr's classes in TOMCAT7: Start the Tomcat log: Souvenir: Version info, Tomcat7 Oh ~ The next article will introduce and explain the SOLR cluster, zookeeper and more, Please pay attention and subscribe to my headline number and the public number, together learn to progress together ~

Search service SOLR One or two things (1)-solr-5.5 use your own jetty or Tomcat to build a standalone search server

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.