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
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
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
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
SOLR Learning Notes
1. Preparation before installation
SOLR relies on the Java 8 Runtime environment, so let's install Java first. If you do not have a Java environment to start the SOLR service, you will see the following prompts:
[Root@localhost
Environment:Ubuntu 12.04 Solr 5.1.0 MongoDB db version:v2.0.41. SOLR Configuration and MongoDB installationSOLR installation configuration is now very simple, refer to the Official document: Http://lucene.apache.org/solr/quickstart.html, the
This article is written by the author according to Apache SOLR document, translation is not correct or understanding is not in place welcome everyone to correct! Thank you! Nodes, cores, Cluster and leadersNodes and CoresIn Solrcloud, a node is an
The commit policy of SOLR is known:
Server:
1) autocommit
2) autosoftcommit
Client commit
This time I tested the effect of adjusting the server-side commit policy when the client closes the commit.
First, disable the client commit and
Solr and. net series (6) solr regular incremental indexing and security, solr.net
Solr and. net series (6) solr regular incremental indexing and security
The solr incremental index method is an Http request, but such a request obviously cannot meet
Reprint please indicate source: http://blog.csdn.net/cywosp/article/details/389659811. Installing Jdk,tomcatsudo apt-get install tomcat7 openjdk-7-jdk openjdk-7-jre2. Download the latest SOLR to http://lucene.apache.org/solr/. Be careful not to go
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.