solr 4.0已正式發佈了


原文出處: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








發佈了94 篇原創文章 · 獲贊 77 · 訪問量 60萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章