I. SOLR learning materials
1. Official Materials
(1) Quick Start: getting started.
(2) API: http://lucene.apache.org/solr/4_9_0/index.html
(3) Reference: format, apache-solr-ref-guide-4.9.pdf
2. Books
(1) SOLR in action, based on version 4.7, is strongly recommended. This book is suitable for learning, and the of
errors caused SOLR to return an error page instead of the result of index success.
Where the above HTML code is formatted after rendering:
HTTP Status 405-http method POST is not supported by this URL
Type Status Report
Message HTTP method POST is not a supported by this URL
Description The specified HTTP method is not a allowed for the requested resource. Apache tomcat/7.0.54 Workaround:
After using Tomcat to deploy
1. How to configure the spring DATASOLR in the development environment to use the embedded SOLR Server According to the official Case Project (Spring-data-book), find the class with embedded, that is, the use of embedded solrserver, the advantage: You can learn to use spring data SOLR without having to configure the environment yourself, Note: In this class, within the function that is @after annotated, con
ElasticSearch configuration example and elasticsearch example
##################### ElasticSearch configuration example ################ #####
# This file contains an overview of various configuration settings,# Targeted at operations staff. Application developers shoshould# Consult the guide.# This file contains an overview of various configurations. It is desig
Elasticsearch is an open source, distributed, restful search engine built on Lucene. Designed for cloud computing, to achieve real-time search, stable, reliable, fast, easy to install and use. Supports the use of JSON for data indexing over HTTP.
stand-alone Environment
Stand-alone version of the Elasticsearch operation is very simple, Linux directly under the Bin/elas
Software environment:
Operating System: rehl 5
JDK: JDK 1.6.0 _ 16
Tomcat: 6.0.20
I. Install JDK
Run:
# Sh/home/apps/jdk-6u16-linux-i586-rpm.bin
Install the SDK in the/usr/Java directory by default.
After the installation is complete, run:
# Java-version
The current JRE version is displayed. If it is not 1.6.0 _ 16 (earlier version 1.4 is installed by default), you need to modify the configuration. Run:
# Vi/etc/profile
Add the following content:
Java_home =/usr/Java/jdk1.6.0 _ 16
Classpath =.:
Take a morning to learn about SOLR and solve the problem:
First understand what SOLR is:
SOLR is a high-performance, using JAVA5 development, SOLR based on Lucene's Full-text search server. At the same time, it has been extended to provide a richer query language than Lucene, while achieving configurable, scalable and
Abstract: intends to write several elasticsearch use experience. First, start with the horizontal comparison of Elasticsearch and Sphinx. Cross-correlation is a good way to react to the pros and exposures of the problem. I am the Sphinx camp to the Elasticsearch camp, both are mature open source search engine, each has the pros and cons, this article can also be
Before you introduce the usage of Elasticsearch, let's talk about why you should use it. First of all to learn the search engine, certainly inevitably have heard LUCENE,SOLR and Elasticsearch are based on it. Spinx many articles, but the database is too intrusive (plug-in mode). Elasticsearch is one of the most popular
SOLR is equipped with a word breaker, but the word breaker has a filter with uppercase converted to lowercase, and the number is filtered. Like 123 Chinese ABC. 123 will be filtered out, so only check 1|12|123 will fail."SOLR numeric characters can not search for a problem" this blog post is more detailed, I am studying this article.According to the account to search, when the account in the database is an
I. ES installation-related1.elasticsearch InstallationRun Http://localhost:9200/2.head Plug-in3.bigdesk Plug-in installation(Installation details Baidu: Windows Elasticsearch installation, detailed content)Two. Es plugin-relatedHttp://www.searchtech.pro/elasticsearch-plugins (es plugin Daquan)Https://github.com/medcl/elastics
Getting started with Elasticsearch, elasticsearch
Elasticsearch is a highly scalable open-source full-text search and analysis engine. It can store, search, and analyze large-scale data quickly and in near real time. It is generally used as the underlying engine/technology to provide powerful support for applications with complex search functions and requirements
First, Linux on the use of
Premise:1) Elasticsearch 2.3.2 installed successfully, test OK.2 MySQL installation is successful, can achieve increase, delete, change, check.The database available for testing is test and the table is CC with the following details:
Mysql> select * from CC;
+----+------------+
| id | name |
+----+------------+
| 1 | laoyang |
| 2 | Dluzhang |
| 3 | Dlulaoyang |
+----+------------+
3 rows in Set (0.00 sec)
First step: Downl
SOLR Study Notes (2) Examples of SOLR
The database I use here is mysql. First, integrate MySQL
1. Create a table
-- ------------------------------ Table structure for `documents`-- ----------------------------DROP TABLE IF EXISTS `documents`;CREATE TABLE `documents` ( `id` int(11) NOT NULL auto_increment, `date_added` datetime NOT NULL, `title` varchar(255) NOT NULL, `content` text NOT NULL, PRIMARY KE
Objective:The SOLR server is set up, and after the data is imported, it is applied to the project. So how do you integrate and apply SOLR in the project?Next, you'll integrate and apply SOLRI. Integration1. Introduction of the JAR package Properties> spring.data.solr.version>2.1.1.RELEASEspring.data.solr.version> Properties> dependencymanagement> Dependencies> Dependency>
.
Omitheader: Sets whether to ignore the query result return header information, the default is "false".
two. query Syntax
1. Match All documents: *:*
2. Force, block, and optional queries:1) Mandatory: Must be included in the query results (for example, only entry name containing the word make) Solr/lucene statement:+make, +make +up, +ma Ke +up +kiss2) Prohibited: (for example, all documents except those with Word believe)
Tags: Front remove network general multi-tenant node work HTTPS problemOriginal address: http://blog.csdn.net/w12345_ww/article/details/52182264. Copyright belongs to the original authorThese two days in the project to involve the use of elasticsearch, on the internet to search for some of this information, found that Elasticsearch installation is divided into single-machine and cluster two ways. In this ex
Tags: col Start order password last enter height click considerationsElasticsearch sync MySQLStart with the project requirements: Add search functionality to the information moduleThis search function I use Elasticsearch realization, function just finished, so write this blog to make a record, let oneself in record under the whole step and process of some attention matters.First, install Elasticsearch and v
GitHub
"GitHub uses elasticsearch to search 20 TB of data, including 1.3 billion files and 130 billion lines of code"
I don't need to introduce this. coders understand it. GitHub upgraded their code search in January 2013 and changed it from SOLR to elasticsearch, the current cluster size is 26 index storage nodes and 8 client nodes (responsible for processing se
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.