Hibernate Search 5.10.0.Beta1 发布,数据检索框架

发布于 2018年02月23日
收藏 1

Hibernate Search 5.10.0.Beta1 已发布,这是 5.10 分支的第一个测试版本,该版本的主要目标是针对 Hibernate ORM 5.3,但也增加了 DI 框架集成和 TikaBridge 改进。

下面介绍一下自 Hibernate Search 5.9.0.Final 以来值得关注的变化:

  • HSEARCH-2978/HSEARCH-3017: Hibernate Search 5.10 is designed to work with Hibernate ORM 5.3.

  • HSEARCH-2979: Hibernate Search now taps into Hibernate ORM’s integration to dependency injection frameworks. If you use a dependency injection framework integrating with Hibernate ORM 5.3, and you add field bridges to your dependency injection context, then Hibernate Search will automatically retrieve and use field bridges from this context.

    This allows you in particular to inject components from your DI context into your field bridges, using your DI framework’s features (@java.injext.Inject, Spring’s @Autowired, …).

    The integration is already known to work in a CDI 2.0 environment such as WildFly 12 (not released yet as of February 23, 2018), and the Spring team will probably make it work as soon as it adds support for JPA 2.2.

  • HSEARCH-3019: Tika bridges now offer the option to provide your own Tika parser instead of relying on content auto-detection using the default configuration. See the TikaBridge documentation for more information.



所有的细节都可以在 hibernate.org 上的专用页面上获得。

转载请注明:文章转载自 开源中国社区 [http://www.oschina.net]
本文标题:Hibernate Search 5.10.0.Beta1 发布,数据检索框架