2015年4月20日月曜日

Solr4系とSolr5系の違い

2015/02/20に Apache Solr 5.0.0
2015/04/14に Apache Solr 5.1.0
2015/06/07に Apache Solr 5.2.0
2015/06/15に Apache Solr 5.2.1
がリリースされている。

個人的には、
Apache Solr 5.2.0以降で、Jetty 9が採用されている
また、
Apache Solr 5.2.0以前のBug Fixesの件数が多い
ため、
Apache Solr 5.2.1以降を採用する予定。


20 February 2015 - Apache Solr 5.0.0 and Reference Guide for 5.0 available http://lucene.apache.org/solr/news.html#20-february-2015-apache-solr-500-and-reference-guide-for-50-available
Apache Solr Release Notes http://lucene.apache.org/solr/5_0_0/changes/Changes.html
14 April 2015 - Apache Solr 5.1.0 Available http://lucene.apache.org/solr/news.html#14-april-2015-apache-solr-510-available
Apache Solr Release Notes http://lucene.apache.org/solr/5_1_0/changes/Changes.html
7 June 2015 - Apache Solr 5.2.0 and Reference Guide for 5.2 available http://lucene.apache.org/solr/news.html#7-june-2015-apache-solr-520-and-reference-guide-for-52-available
Apache Solr Release Notes http://lucene.apache.org/solr/5_2_0/changes/Changes.html
15 June 2015, Apache Solr 5.2.1 available http://lucene.apache.org/solr/news.html#15-june-2015-apache-solr-521-available
Apache Solr Release Notes http://lucene.apache.org/solr/5_2_1/changes/Changes.html


リファレンスガイドの最新版は以下で公開されている。

Apache Solr Reference Guide (pdf) http://ftp.kddilabs.jp/infosystems/apache/lucene/solr/ref-guide/
Apache Solr Reference Guide https://cwiki.apache.org/confluence/display/solr/Apache+Solr+Reference+Guide


メジャーバージョンアップに伴い、非推奨またはサポート対象外の項目も多いので注意が必要。

Solr is Now a Standalone Server

  • Beginning with Solr 5.0, Solr is no longer distributed as a "war" (Web Application Archive) suitable for deployment in any Servlet Container.
  • Solr 5.0からは、サーブレットコンテナに対するデプロイに適しているwar形式でのディストリビューションは実施していない。
  • Deployment as a "webapp" to other Servlet Containers (or other instances of Jetty) is not supported,
  • 他のサーブレットコンテナ(または、jetty以外のインスタンス)へのwebappとしてのデプロイはサポートされない。

Index Format

  • Solr 5 has no support for reading Lucene/Solr 3.x and earlier indexes.
  • Solr 5 は Lucene/Solr 3.x 以前のインデックスの読み込みをサポートしていない。

solr.xml Format

  • Solr 5.0 has eliminated all support for the older solr.xml format, and moved entirely to core discovery.
  • Solr 5.0 は、(Solr 4.3以前の古い) solr.xml フォーマットに対する全てのサポートを排除した。

Collections API

  • Solr 5.0 only supports creating and removing SolrCloud collections through the Collections API, unlike previous versions.
  • これまでのバージョンと違い、Solr 5.0 は コレクションAPIを経由した、SolrCloud コレクションの作成または削除のみ、サポートする。

SolrJ changes

  • Many SolrJ methods that were marked deprecated in Solr 4.10 have been removed.
  • Solr 4.10で非推奨となった、多数のSolrJ メソッドが削除された。
Major Changes from Solr 4 to Solr 5 https://cwiki.apache.org/confluence/display/solr/Major+Changes+from+Solr+4+to+Solr+5
Moving to the New solr.xml Format https://cwiki.apache.org/confluence/display/solr/Moving+to+the+New+solr.xml+Format
Upgrading a Solr 4.x Cluster to Solr 5.0 https://cwiki.apache.org/confluence/display/solr/Upgrading+a+Solr+4.x+Cluster+to+Solr+5.0


javaのバグがあるため、Apache Solr 4.8 以降は、Java 7u55以上が推奨。
  • The recently released Java 7u55 fixes the above bug causing index corrumption. This version is now the recommended version for running Apache Solr.
12 March 2014 - Apache Solr 4.8 will require Java 7 https://lucene.apache.org/solr/news.html#12-march-2014-apache-solr-48-will-require-java-7

0 件のコメント:

コメントを投稿