发布于 2015-09-17 00:30:59 | 386 次阅读 | 评论: 0 | 来源: 网友投递

这里有新鲜出炉的精品教程,程序狗速度看过来!

Hibernate Search 全文检索工具

Hibernate Search是在apache Lucene的基础上建立的主要用于Hibernate的持久化模型的全文检索工具。像Lucene这样的检索引擎能够给我们的项目在进行检索的时候带来 非常高的效率,但是它们在基本对象的检索时会有一些问题,比如不能实现检索内容跟实体的转换,Hibernate Search正是在这样的情况下发展起来的,基于对象的检索引擎,能够很方便的将检索出来的内容转换为具体的实体对象。此外Hibernate Search能够根据需要进行同步或异步的索引更新。


Hibernate Search 5.5.0 发布,此版本更新内容如下:

** Bug 修复
    * [HSEARCH-1870] - The DSL should support keyword queries on numerically indexed Date fields
    * [HSEARCH-1955] - ScheduledCommitPolicy helper threads not handling exceptions
    * [HSEARCH-1987] - @NumericField doesn't work as expected when several fields are present
    * [HSEARCH-1992] - Validation of valid sorting options to skip index uninverting needs to ensure consistent mapping across all entities of each involved index
    * [HSEARCH-1999] - AbstractDocumentBuilder.isDirty() returns false for indexed fields if Hibernate property name does not correspond to the Java field name
    * [HSEARCH-2000] - Ignore sortable fields when contained indirectly within embedded to-many association
    * [HSEARCH-2002] - Have the Infinispan Directory maven redirect point to the right version
    * [HSEARCH-2003] - numericField() in the DSL should take field name into account
    * [HSEARCH-2004] - Queries in unit tests should be inside a transaction

** 新特性
    * [HSEARCH-1993] - Allow to define sortable fields through configuration DSL

** 任务
    * [HSEARCH-1933] - Review javadoc warnings
    * [HSEARCH-1966] - Some javadoc mistakes are causing background build errors
    * [HSEARCH-1983] - Have the integration tests verify which Hibernate Search version they are using

** 改进
    * [HSEARCH-1997] - NumericFieldUtils to avoid checking for Java8 time classes multiple times

** 废弃
    * [HSEARCH-2005] - Deprecate ContainedInMapping#numericField()

更多内容和下载:http://sourceforge.net/projects/hibernate/files/hibernate-search/5.5.0.Final/ 

Hibernate Search是在apache Lucene的基础上建立的主要用于Hibernate的持久化模型的全文检索工具。像Lucene这样的检索引擎能够给我们的项目在进行检索的时候带来 非常高的效率,但是它们在基本对象的检索时会有一些问题,比如不能实现检索内容跟实体的转换,Hibernate Search正是在这样的情况下发展起来的,基于对象的检索引擎,能够很方便的将检索出来的内容转换为具体的实体对象。此外Hibernate Search能够根据需要进行同步或异步的索引更新。

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



历史版本 :
Hibernate Search 5.9.0.CR1 发布,数据检索框架
Hibernate Search 5.9.0.beta1 发布,数据检索框架
Hibernate Search 5.8.0.cr1 发布,数据检索框架
Hibernate Search 5.7.0.Final 发布,数据检索框架
Hibernate Search 5.5.6.Final 发布
Hibernate Search 5.6.0.Beta4 和 5.7.0.Beta1 发布
Hibernate Search 5.5.4 发布
Hibernate Search 5.6.0.Beta1 发布
Hibernate Search 5.5.3.Final 发布
Hibernate Search 5.6.0.Alpha3 发布,Hibernate搜索框架
Hibernate Search 5.6.0.Alpha2 发布
Hibernate Search 5.5.2 发布
最新网友评论  共有(0)条评论 发布评论 返回顶部

Copyright © 2007-2017 PHPERZ.COM All Rights Reserved   冀ICP备14009818号  版权声明  广告服务