[Elasticsearch]2.数据存储:文档和索引
数据存储:文档和索引 连载更新中... Data in: Documents and indices Elasticsearch是分布式文档存储系统.数据不是以列和行的形式存储的,而是被序列化为JSON文档存储的.如果在Elasticsearch集群中有多个存储节点,这些文档是分散在多个节点上的,并且在任何一个节点上都可以访问这些文档.就问你,神奇不神奇? Elasticsearch is a distributed document store. Instead of storing information as rows of columnar data, Elasticsearch stores complex data structures that have been serialized as JSON documents. When you have multiple Elasticsearch nodes in a cluster, stored documents are distributed across the cluster and can be accessed immediately from any node. 文档在存储的时候会创建相应索引并且支持近实时的(1秒钟内)全文检索. 怎么就这么快呢