Apache Lucene 5.0/Solr 5.0 发布

Posted OSC开源社区

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Apache Lucene 5.0/Solr 5.0 发布相关的知识,希望对你有一定的参考价值。

Apache Lucene 开始了一个全新的里程碑,发布了 5.0 版本。该版本包括更强大的安全索引,降低内存堆的使用。同时包含其他的小改进。详细的内容请看发行说明。完整的改进列表请看 Changes。



你知道的,每次 Lucene 发布新版本时,Solr 也会相应发布更新版本。Lucene 刚刚发布了 5.0 版本,Solr 也同时发布了 5.0 版本。从 5.0 开始 Solr 不再提供 war 包方式,而是以独立的 Java 服务器方式提供安装(小编个人不喜欢,至少应该保留 war 包,因为更方便于使用自己喜好的容器部署)。


Solr 5.0 的改进内容包括:


Ease Of Use

  • Improved bin/solr and new bin/post scripts

  • New, and restructured, example Config Sets available by default

  • SolrJ now has first class support for the Collections API

  • Implicit registration of /replication, /get, and /admin/* request handlers


Operational Support

  • Scripts to support installing and running Solr as a service on Linux

  • Logging improvements:

    • Transaction log replay status is now logged

    • Optional logging of slow requests.

  • Config API that supports paramsets for easily configuring Solr parameters for request handlers and editing common solrconfig.xml options.

  • New Blob Store API with support for uploading and distributing plugin jars.


SolrCloud & Distributed Requests

  • Splitting of clusterstate to per-collection enables scalability improvement in SolrCloud

  • Distributed IDF Support

  • Option to configure max bandwidth usage by ReplicationHandler


New Search Functionality

  • pivot.facet results can now include nested stats.field results constrained by those pivots

  • stats.field can be used to generate statistics over the results of arbitrary numeric functions

  • A new DateRangeField has been added for indexing date ranges, especially multi-valued ones

  • Spatial fields that used to require units=degrees now take distanceUnits=degrees/kilometers miles instead

  • MoreLikeThis query parser allows requesting for documents similar to an existing document

  • timeAllowed is now used to prematurely terminate requests during query expansion and SolrClient request retry


详细介绍请看官方发行说明。



以上是关于Apache Lucene 5.0/Solr 5.0 发布的主要内容,如果未能解决你的问题,请参考以下文章

Apache Lucene和Solr 5.0发布

名称为“Lucene54”的 org.apache.lucene.codecs.Codec 类型的 SPI 类不存在

5 统计solr目录索引信息

Apache Lucene 5.0发布,不再兼容3.X系列版本

lucene&solr全文检索_5索引的维护

org.apache.lucene.store.AlreadyClosedException:此IndexWriter已关闭