1, Elasticsearch Introduction
Chinese help document Address: http://es.xiaoleilu.com/
Elasticsearch is a real-time, Lucene-based, distributed search and analysis engine. Designed for cloud computing, it can achieve real-time search, stable, reliable, fast, easy to install and use. Based on restful interfaces.
– Normal request is ... get?a=1
–rest request .... get/a/1
Users of Elasticsearch
–github,wikipedia,ebay, etc...
• ES VS SOLR
– Interface
• Interfaces similar to WebService
Rest-style access interface
– Distributed Storage
Solrcloud solr4.x only supported
• ES is for distribution.
– Supported formats
SOLR XML JSON
• ES json
– Near real-time search
• ES and SOLR Baidu Index comparison
Performance comparison of SOLR and Elasticsearch
2. Introduction to rest (representational state Transfer)
• A software architecture style, rather than a standard, provides only a set of design principles and constraints. It is mainly used for client and server interaction classes of software. The design of the software based on this style can be more concise, more hierarchical, easier to implement caching mechanisms
The operation of rest is divided into the following types
–get: Gets the current state of the object;
–put: Changing the state of an object;
–post: Creating objects;
–delete: deleting objects;
–head: Gets the header information.
• ES built-in rest interface
Comparison of data between • ES and relational databases
1, Elasticsearch Introduction