发布于 2015-02-20 01:26:19 | 214 次阅读 | 评论: 0 | 来源: 网友投递
Apache Solr 企业级全文搜索引擎
Solr是一个独立的企业级搜索应用服务器,它对外提供类似于Web-service的API接口。用户可以通过http请求,向搜索引擎服务器提交一定格式的XML文件,生成索引;也可以通过Http Get操作提出查找请求,并得到XML格式的返回结果;
你知道的,每次 Lucene 发布新版本时,Solr 也会相应发布更新版本。Lucene 刚刚发布了 5.0 版本,Solr 也同时发布了 5.0 版本。从 5.0 开始 Solr 不再提供 war 包方式,而是以独立的 Java 服务器方式提供安装(小编个人不喜欢,至少应该保留 war 包,因为更方便于使用自己喜好的容器部署)。
Solr 5.0 的改进内容包括:
Ease Of Use
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
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
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
详细介绍请看官方发行说明。