In a Linux environment, deploy Solr in tomcat7, import Mysql database data, regularly update indexes, and solrtomcat7What is solr?
Solr is a full-text search Server Based on Lucene. It expands and optimizes Lucene.Preparations
First, download the
As the search engine function has a large number of functional requirements that require search engines in the portal community to improve user experience, there are currently a centralized solution for implementing search engines:
Implement
Solr installation steps,I. Solr Overview 1. What is Solr?
Solr is a top-level open-source project under Apache developed using Java. It is a full-text search Server Based on Lucene. Solr provides a richer query language than Lucene, supports
Find a lot of information about SOLR on the web and find it very incomplete, even in the official wiki.
Based on the SOLR application being researched at this stage, I will share some of my experience.
Today is to say: how to run up.
1 "First
First, Introduction1.1 The features we need to implement use SOLR to search for product information in e-commerce websites, search for product information by keyword, category, price, or sort by price. 1.2 Implementation methods in some large-scale
Unlike testing and research, it needs to be installed as a service if it is to be deployed as a product of SOLR. There is a script install_solr_service.sh under the bin directory in the SOLR compression package, which is responsible for the
SOLR
1. Solr server setup
LJava environment setup
Download linux JDK 6 from this website:
Http://java.sun.com/javase/downloads/index.jsp
After installing JDK, edit/ect/profile, add these code to the end of the file
JAVA_HOME =/usr/java/jdk1.6.0 _ 1
03 Apache Solr: Installation and running, apachesolrI have introduced some ideas about how to use Solr in projects and how to build highly available and scalable Solr servers. But now, let's continue to understand Solr!InstallInstall JAVAApache Solr
Environment construction1, to Apache download SOLR, Address: http://mirrors.hust.edu.cn/apache/lucene/solr/2. Unzip to a directory3. CD into D:\Solr\solr-4.10.3\example4. Execute the server by "Java-jar Startup.jar" SOLR will automatically run on
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.