红联Linux门户
Linux帮助

Hibernate Search 5.4.0正式发布

发布时间:2015-09-04 09:09:06来源:红联作者:empast
Hibernate Search 5.4.0 正式发布,更新内容如下:

** Bug修复
* [HSEARCH-1960] - TypeMetadata and QueryValidator fail to recognize an Id being encoded as Numeric
* [HSEARCH-1968] - NPE on Faceting queries which represent and empty result
* [HSEARCH-1973] - ConnectedMultiFieldsTermQueryBuilder must unwrap a NullEncodingTwoWayFieldBridge before checking for NumericFieldBridge
* [HSEARCH-1981] - QueryBuilder should not tokenize the null-token when searching for null

** 任务
* [HSEARCH-1949] - FSDirectoryTest is leaking file handles when run on Windows
* [HSEARCH-1950] - Integration tests should not hardcode the module slot
* [HSEARCH-1953] - Javadoc should be built by linking to the one from Hibernate ORM 5.0
* [HSEARCH-1972] - Upgrade to Hibernate ORM 5.0.0.Final
* [HSEARCH-1978] - Fix example in projection documentation
* [HSEARCH-1979] - Upgrade to WildFly 10.0.0.Beta2
* [HSEARCH-1980] - Upgrade to JGroups 3.6.4.Final

** 改进
* [HSEARCH-1952] - ScheduledCommitPolicy might open unnecessary IndexWriter instances

Hibernate Search的作用是对数据库中的数据进行检索的。它是hibernate对著名的全文检索系统Lucene的一个集成方案,作用在于对数据表中某些内容庞大的字段(如声明为text的字段)建立全文索引,这样通过hibernate search就可以对这些字段进行全文检索后获得相应的POJO,从而加快了对内容庞大字段进行模糊搜索的速度(sql语句中like匹配)。

Hibernate Search主要有以下功能特点:

1,功能强大,配置简单 - 配置只需要修改persistence.xml(JPA),hibernate.cfg.xml(Hibernate)
2,支持Hibernate,以及EJB3 JPA标准应用
3,集成全文搜索引擎Lucene - Lucene是Apache项目组下的一个功能强大的全文搜索引擎项目
4,可以简单透明索引查询过的数据
5,支持复杂检索 - 支持Wild Card(诸如*, ?等通配符号),多关键字,模糊查询,排序等
6,支持Clustering
7,支持直接访问Lucene API
8,对Lucene索引,API的高效管理

Hibernate Search运行的环境如下:

1、JDK或JRE 5.0以上

2、Hibernate-Search以及相应的依赖包

3、Hibernate Core 3.2.X

4、Hibernate Annotations 3.3.X

软件详情:http://sourceforge.net/projects/hibernate/files/hibernate-search/

下载地址:http://sourceforge.net/projects/hibernate/files/

来自:开源中国社区
文章评论

共有 0 条评论