原文出处:http://blog.csdn.net/duck_genuine/article/details/8073803
正式版本
- 更新发送到集群中的任何节点上,都可以自动转发到正确的索引shard片上,每一个replication都会做更新,并同时写tLog文件,当服务重启时会同步tlog。
- 查询发送到任何一个节点上都会变成发布给集群上执行,并自动负载平衡和故障转移
- web管理界面UI的修改
- solrCloud在事务日志方面的性能优化,结点同步的恢复,集群状态的高速缓存以上的优化
对于某些概念的解释:http://wiki.apache.org/solr/NewSolrCloudDesign
-
Cluster: Cluster is a set of Solr nodes managed as a single unit. The entire cluster must have a single schema and solrconfig
-
Node: A JVM instance running Solr
-
Partition: A partition is a subset of the entire document collection. A partition is created in such a way that all its documents can be contained in a single index.
-
Shard: A Partition needs to be stored in multiple nodes as specified by the replication factor. All these nodes collectively form a shard. A node may be a part of multiple shards
-
Leader: Each Shard has one node identified as its leader. All the writes for documents belonging to a partition should be routed through the leader.
-
Replication Factor: Minimum number of copies of a document maintained by the cluster
-
Transaction Log: An append-only log of write operations maintained by each node
-
Partition version: This is a counter maintained with the leader of each shard and incremented on each write operation and sent to the peers
-
Cluster Lock: This is a global lock which must be acquired in order to change the range -> partition or the partition -> node mappings.
BETA版本
主要的改动如下:solr 4.0 BETA发布,希望一个月后可以见到正式版出来
alpha版本
首先先看看alpha版本的新功能:
原文出处:http://blog.chenlb.com/2012/07/solr-4-0-alpha-release.html
Apache Solr 4.0-alpha 在 2012-07-03 发布,有N多激动人心的功能可以用了。下面简单列举一下:
Solr 4.0-alpha Release 显著功能:
- 分布式索引,支撑的功能有:near real-time(NRT),Nosql 特性:realtime-get、乐观锁、持久更新(durable updates)。
- 高可用性,解决点故障。
- 依赖 zookeeper 的分布式协调、群集元数据和配置保存。不必考虑分布式一致性协议 Paxos。
- 更新自动转发到当前 shard 的所有结点。
- 查询自动执行分布搜索、负载均衡、故障切换。
- Nosql 特性:
- 持久化的更新,使用事务日志。
- Real-time Get 不需要 commit 索引即可取到最新的数据。
- 版本控制 (Versioning) 与 乐观锁(Optimistic Locking) 结合 Real-time get 可以确保 read/update/write 操作不冲突。
- 原子更新,add,remove,change 和增加字段,不需要提供完整的 doc。
- solr 4.0 再来的特性: