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
How to install and configure solr + php
Problem
How to install and configure solr + phpSolution 1:
Solr provides an http request query interface. The client retrieves json, xml, and other data formats by triggering an http request, and parses and
(a) HIVE+SOLR profileAs the offline data warehouse of the Hadoop ecosystem, hive can easily use SQL to analyze the huge amount of historical data offline, and according to the analysis results, to do some other things, such as report statistics
SOLR and. NET Series courses (vi) SOLR timing incremental indexing and securityThe way that SOLR increments the index is an HTTP request, but the request obviously does not meet the requirements, we need an automatic incremental index, SOLR
A total of three parts, the first part SOLR conventional treatment, the second part of the targeted treatment, the former is more general, the latter has limitations. It is important to adjust the parameters and compare the performance according to
Solr learning (6) -- Solr's PHP client solr returns results in xml or json format, not like the pretty and refreshing interface we usually use google or Baidu, in fact, solr is only responsible for data query and return, and is not responsible for
At present, more suitable for Java search engine construction will generally choose SOLR, the underlying operation will use SOLRJ interaction, in fact, SOLR is based on Lucene. The implementation process found that many of the Web documents on Java
Download PHP SOLR client:http://code.google.com/p/solr-php-client/downloads/list
# wget http://solr-php-client.googlecode.com/files/SolrPhpClient.r22.2009-11-09.tgz # tar XZVF Solrphpclient.r22.2009-11-09.tgz
Move the file to the Web root # mv
Introduction
Speaking of Apache Lucene, I am afraid I don't know much about Apache SOLR. Let's take a look at the description of Apache SOLR:
SOLR is an enterprise-level Search Server Based on Lucene Java library, including XML/HTTP, json api,
Solr learning Summary (4) Solr query parameters, solr Parameters
It will not be involved today. net and database operations, mainly to summarize the Solr query parameters, or that sentence, only the basic content and query syntax of solr are clearly
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.