,最多只能处理单台服务器可以处理的数据量
elasticsearch,基于lucene,隐藏复杂性,提供简单易用的restful api接口、java api接口(还有其他语言的api接口)
Elasticsearch...{
"_index": "tea",
"_type": "product",
"_id": "1",
"_version": 1,
"found": true,
"_source": {..."_index": "tea",
"_type": "product",
"_id": "1",
"_version": 6,
"found": true,
"_source": {
"name.../
返回
{
"found": true,
"_index": "tea",
"_type": "product",
"_id": "1",
"_version": 7,
"result.../1
返回
{
"_index": "tea",
"_type": "product",
"_id": "1",
"found": false
}
Elasticsearch核心查询