ES 基础

You Know, for Search

安装es时 , jdk最低版本需要 jdk7 

 

默认端口 : 9200

启动后浏览器访问 : localhost:9200

 

角色关系对照

elasticsearch 跟 MySQL 中定义资料格式的角色关系对照表如下

MySQL             elasticsearch
database                  index
table                        type

table schema mapping
row                          document
column                     field

 

ES 特性 

1. 实时数据

2. 实时分析

3. 分布式

4. 高可用性

5. multi-tenancy

6. 全文本搜索

7. 面向文档

8. 冲突管理

9. 免费模式

10. restful 接口

11. 数据安全性

12. apache2 开源协议

13. 基于lucene编写的

  lucene 是一个高性能的、全功能的信息检索库 ,它是基于java编写的 。Elasticsearch内部使用Lucene建立最先进的分布式搜索和分析功能。

 

 

In Elasticsearch, all data in every field is indexed by default. That is, every field has a dedicated inverted index for fast retrieval. And, unlike most other databases, it can use all of those inverted indices in the same query, to return results at breathtaking speed. 

posted @ 2015-02-03 14:10  coreWars  阅读(155)  评论(0编辑  收藏  举报