加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

solr 4.0已正式发布了

发布时间:2020-12-13 13:52:17 所属栏目:百科 来源:网络整理
导读:原文出处: http://blog.csdn.net/duck_genuine/article/details/8073803 正式版本 更新发送到集群中的任何节点上,都可以自动转发到正确的索引shard片上,每一个replication都会做更新,并同时写tLog文件,当服务重启时会同步tlog。 查询发送到任何一个节点


原文出处: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 再来的特性:
    • Pivot Faceting 支持多层的 facet。
    • Pseudo-fields 支持重命名字段,包括输出函数值。
    • 拼写检查支持直接从主索引里取数据。
    • Join,支持查询关系其它 schema 的 document。
    • 增强 Function query 支持条件函数、文本相关性函数。
    • 新的更新处理器,支持在做索引之前更新 document。
    • 新的 admin web 界面,支持SolrCloud。

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读