Hibernate Search v5.7.0.Final 发布
jopen 8年前
<p style="text-align: center;"><strong><img alt="" src="https://simg.open-open.com/show/ae435f75b5252cf6bf078bd83902ebff.png" /></strong></p> <p> </p> <p>Hibernate Search的作用是对数据库中的数据进行检索的。它是hibernate对著名的全文检索系统Lucene的一个集成方案,作用在于对数据表中某些内容庞大的字段(如声明为text的字段)建立全文索引,这样通过hibernate search就可以对这些字段进行全文检索后获得相应的POJO,从而加快了对内容庞大字段进行模糊搜索的速度(sql语句中like匹配)。</p> <p style="text-align: center;"><a href="https://simg.open-open.com/show/be9684d51d7341308ae5ee07f073fd1b.png"><img alt="" src="https://simg.open-open.com/show/be9684d51d7341308ae5ee07f073fd1b.png" /></a></p> <p style="text-align: center;"><a href="https://simg.open-open.com/show/07e1cac8fd583af11a9aa7de023285c4.jpg"><img alt="" src="https://simg.open-open.com/show/07e1cac8fd583af11a9aa7de023285c4.jpg" /></a></p> <p>Hibernate Search主要有以下功能特点:</p> <ol> <li>功能强大,配置简单 - 配置只需要修改persistence.xml(JPA),hibernate.cfg.xml(Hibernate)</li> <li>支持Hibernate,以及EJB3 JPA标准应用</li> <li>集成全文搜索引擎Lucene - Lucene是Apache项目组下的一个功能强大的全文搜索引擎项目</li> <li>可以简单透明索引查询过的数据</li> <li>支持复杂检索 - 支持Wild Card(诸如*, ?等通配符号),多关键字,模糊查询,排序等</li> <li>支持Clustering</li> <li>支持直接访问Lucene API</li> <li>对Lucene索引,API的高效管理</li> </ol> <p>Hibernate Search运行的环境如下:</p> <ol> <li>JDK或JRE 5.0以上</li> <li>Hibernate-Search以及相应的依赖包</li> <li>Hibernate Core 3.2.X</li> <li>Hibernate Annotations 3.3.X</li> </ol> <p style="text-align: center;"><img src="file:///C:/Users/wzw/AppData/Local/Temp/enhtmlclip/Image(4).png" /><a href="https://simg.open-open.com/show/bd0e6ba6b478bba0f5f9733e44c068e9.png"><img alt="" src="https://simg.open-open.com/show/bd0e6ba6b478bba0f5f9733e44c068e9.png" /></a></p> <p style="text-align: center;">主/从结构的Hibernate Search architecture</p> <h2>更新日志</h2> <ul> <li>HSEARCH-2593 Node discovery uses the HTTP (not HTTPS) scheme by default and isn't configurable</li> <li>HSEARCH-2590 ElasticsearchHSQueryImpl allocates too much memory for query results</li> <li>HSEARCH-2587 Sort DSL on embedded fields throws NPE</li> <li>HSEARCH-2569 The "delete-by-query" plugin requirement for Elasticsearch isn't clear</li> <li>HSEARCH-2591 Upgrade to Apache Lucene 5.5.4</li> <li>HSEARCH-2588 Make byField(String) in the sort DSL automatically determine the sort type for metadata providing field bridges</li> <li>HSEARCH-2577 Separate the namespaces for Lucene and Elasticsearch analyzers</li> <li>HSEARCH-2576 FacetingManager should allocate maps lazily</li> <li>HSEARCH-2574 Java 8: Make the repeatable annotations actually Repeatable</li> <li>HSEARCH-2572 Missing labels for cross references in documentation</li> <li>HSEARCH-2568 IndexSchemaManagementStrategy#NONE throws an exception if index does not exist</li> <li>HSEARCH-2453 Add support for Elasticsearch authentication</li> <li>HSEARCH-2447 Make it easier to add sortable fields from custom field bridges</li> <li>HSEARCH-2585 Allow injecting Analyzer definitions using a Service</li> <li>HSEARCH-2418 Allow registering Analyzer definitions at bootstrap via an extension point</li> <li>HSEARCH-2597 Do not rely on automatic detection of JPA annotations from the classpath</li> <li>HSEARCH-2596 Point to the Hibernate ORM / WildFly modules documentation</li> <li>HSEARCH-2595 Upgrade to Hibernate ORM 5.2.8.Final</li> <li>HSEARCH-2580 Update of the "previous.stable" property following the 5.6.0.Final release</li> <li>HSEARCH-2578 Include the lucene-grouping artifact in the WildFly modules</li> <li>HSEARCH-2575 Update usage of deprecated options of Forbidden APIs code check</li> <li>HSEARCH-2573 Upgrade the Elasticsearch version used for tests to 2.4.4</li> <li>HSEARCH-2571 Upgrade the maven plugin dependencies</li> <li>HSEARCH-2570 Upgrade maven plugins to support Java 8 code</li> <li>HSEARCH-2564 Generic type signature of FullTextQuery should not be as flexible as the JPA Query</li> <li>HSEARCH-2563 Update some outdated information in the pom (CI and authors)</li> <li>HSEARCH-2562 Integrators can not use the AnalyzerDiscriminator to override analyzer mapping dynamically</li> <li>HSEARCH-2561 Allow sorting metadata to be overriden during query execution</li> <li>HSEARCH-2559 Switch to Asciidoctor output for the documentation</li> <li>HSEARCH-2558 Remove obsolete entries from the "limitations" section of the Elasticsearch integration documentation </li> <li>HSEARCH-2381 Avoid logging warnings caused by internal usage of the legacy Criteria API</li> <li>HSEARCH-2141 Improve reliability of JGroups integration tests</li> </ul> <h2>下载</h2> <ul> <li><a href="/misc/goto?guid=4959000290734346806" rel="nofollow"><strong>Source code</strong> (zip)</a></li> <li><a href="/misc/goto?guid=4959000290860397549" rel="nofollow"><strong>Source code</strong> (tar.gz)</a></li> </ul> <p>本站原创,转载时保留以下信息:<br /> 本文转自:深度开源(open-open.com)<br /> 原文地址:<a href="http://www.open-open.com/news/view/58279588">http://www.open-open.com/news/view/58279588</a></p>