Hibernate Search v5.6.0.Beta1 发布

jopen 8年前
   <p style="text-align:center"><img alt="" src="https://simg.open-open.com/show/ae435f75b5252cf6bf078bd83902ebff.png" /></p>    <p>Hibernate Search的作用是对数据库中的数据进行检索的。它是hibernate对著名的全文检索系统Lucene的一个集成方案,作用在于对数据表中某些内容庞大的字段(如声明为text的字段)建立全文索引,这样通过hibernate search就可以对这些字段进行全文检索后获得相应的POJO,从而加快了对内容庞大字段进行模糊搜索的速度(sql语句中like匹配)。</p>    <p><img alt="" src="https://simg.open-open.com/show/be9684d51d7341308ae5ee07f073fd1b.png" /><img alt="" src="https://simg.open-open.com/show/07e1cac8fd583af11a9aa7de023285c4.jpg" /></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 alt="" src="https://simg.open-open.com/show/bd0e6ba6b478bba0f5f9733e44c068e9.png" /></p>    <p style="text-align:center">主/从结构的Hibernate Search architecture</p>    <h2> 更新日志</h2>    <h3>Bug修复</h3>    <ul>     <li>[HSEARCH-2011] - HSEARCH000268 : Field does not exist or not configured for faceting</li>     <li>[HSEARCH-2046] - Three fields are added to the index for an indexed element collection with two elements</li>     <li>[HSEARCH-2120] - EdgeCaseFacetTest is unreliable on Elasticsearch</li>     <li>[HSEARCH-2193] - LuceneBackendQueueTask does not release the Directory lock on update failures</li>     <li>[HSEARCH-2200] - Typo in log message</li>     <li>[HSEARCH-2210] - Missing types in NumericFieldUtils#requiresNumericRangeQuery</li>     <li>[HSEARCH-2222] - The new AnalyzerReference infrastructure is not used in the DSL</li>     <li>[HSEARCH-2226] - FullTextQuery does not override some returned Query types to allow method chaining</li>     <li>[HSEARCH-2227] - elasticsearch.ProjectionConstants exposes Lucene constructs</li>     <li>[HSEARCH-2233] - Elasticsearch - Dates and numerics should never be analyzed</li>     <li>[HSEARCH-2237] - ScopedAnalyzerReference shouldn't close the underlying analyzer references</li>     <li>[HSEARCH-2240] - Parallel service lookup might fail to find the service</li>     <li>[HSEARCH-2251] - In the DSL, don't analyze string encoded dates</li>     <li>[HSEARCH-2252] - Document that it's not recommended to sort on the id field</li>     <li>[HSEARCH-2274] - Property "elasticsearch.host" isn't accessed correctly</li>     <li>[HSEARCH-2275] - Elasticsearch massindexer does not guarantee a proper shutdown</li>     <li>[HSEARCH-2280] - The JGroups backend module should not depend on the Elasticsearch module</li>    </ul>    <h3>新特性</h3>    <ul>     <li>[HSEARCH-2064] - Implement filters in Elasticsearch backend</li>     <li>[HSEARCH-2110] - Upgrade ES documentation before Beta1 release</li>     <li>[HSEARCH-2199] - Allows the use of CharFilter in the programmatic API of SearchMapping</li>     <li>[HSEARCH-2234] - Add dependency to "xml.bind" to ES JBoss Modules module.xml</li>    </ul>    <h3>Task</h3>    <ul>     <li>[HSEARCH-2061] - Review package naming in the new ElasticSearch integration module</li>     <li>[HSEARCH-2063] - Review the pending TODOs in the new Elasticsearch backend</li>     <li>[HSEARCH-2067] - Rework ElasticSearchBridgeProvider integration to not affect non-ES indexing</li>     <li>[HSEARCH-2071] - Support embedded ids with ES backend</li>     <li>[HSEARCH-2106] - Discuss unique ProjectionConstants API</li>     <li>[HSEARCH-2138] - Elasticsearch async: do not request reader refresh operations after each write</li>     <li>[HSEARCH-2156] - Document requiring the bulk deletion Elasticsearch plugin</li>     <li>[HSEARCH-2164] - Make Elasticsearch configuration properties index-scoped where feasible</li>     <li>[HSEARCH-2187] - Documentation: Explain how to use the analyzers configured in ES</li>     <li>[HSEARCH-2198] - Avoid using maven-injection-plugin to retrieve project Version</li>     <li>[HSEARCH-2205] - Upgrade to Elasticsearch 2.3.1: Java9 compatibility and Lucene aligned to 5.5</li>     <li>[HSEARCH-2211] - Upgrade Arquillian infrastructure</li>     <li>[HSEARCH-2217] - Move Travis build to Trusty infrastructure and use Maven wrapper</li>     <li>[HSEARCH-2229] - Improve error message in ElasticsearchIndexManager#analyzerName</li>     <li>[HSEARCH-2238] - Upgrade to Byteman 3.0.5</li>     <li>[HSEARCH-2242] - Convert FacetManager implementation to no longer use Filters</li>     <li>[HSEARCH-2245] - Handle Calendar and resolution in the Elasticsearch specific BridgeProvider</li>     <li>[HSEARCH-2246] - Using DSL with Elasticsearch and dates is broken</li>     <li>[HSEARCH-2264] - Add additional comments on building metadata with/without IndexManager type</li>    </ul>    <h3>Sub-task</h3>    <ul>     <li>[HSEARCH-2209] - Switch to ClassicSimilarity as default Similarity implementation</li>    </ul>    <h3>改进</h3>    <ul>     <li>[HSEARCH-1724] - Simplify access to ClassLoaderService</li>     <li>[HSEARCH-1951] - Improve resulting error message when applying the wrong Sort Type</li>     <li>[HSEARCH-1970] - Untangle relationship of (DirectoryBased)IndexManager and BackendQueueProvider</li>     <li>[HSEARCH-2093] - Clarify meaning of constant names on IndexSchemaManagementStrategy</li>     <li>[HSEARCH-2100] - CPU hotspot in query.dsl.impl.Helper.getDocumentBuilder(QueryBuildingContext)</li>     <li>[HSEARCH-2125] - Elasticsearch - support for MultiPhraseQuery</li>     <li>[HSEARCH-2167] - Rename IndexManagementStrategy</li>     <li>[HSEARCH-2178] - Send bulked index changes to ES when using the mass indexer</li>     <li>[HSEARCH-2197] - Loading of search results produces useless garbage.</li>     <li>[HSEARCH-2201] - Fix assorted typos in comments</li>     <li>[HSEARCH-2202] - Fix SearchIntegrator camel casing throughout the codebase</li>     <li>[HSEARCH-2203] - Reduce memory consumption of EntityInfoImpl objects.</li>     <li>[HSEARCH-2212] - Improve Elasticsearch integration documentation</li>     <li>[HSEARCH-2213] - Cryptic error when cluster is not green during index creation</li>     <li>[HSEARCH-2214] - Provide an option to wait for Elasticsearch status yellow rather than green</li>     <li>[HSEARCH-2243] - Allow provided services to implement Startable or Stoppable</li>     <li>[HSEARCH-2244] - Unify the way TermQuery for numerics are handled</li>     <li>[HSEARCH-2247] - Represent the kind of underlying technology with an explicit type</li>     <li>[HSEARCH-2250] - Improve readability and efficiency of MultiWriteDrainableLinkedList</li>     <li>[HSEARCH-2270] - Upgrade to Apache Lucene 5.5.1.Final</li>    </ul>    <h3>废弃</h3>    <ul>     <li>[HSEARCH-2241] - Clarify deprecation of setFilter() method on FullTextQuery</li>    </ul>    <h2>下载</h2>    <ul>     <li><a href="/misc/goto?guid=4958990807535584704" rel="nofollow"><strong>Source code</strong> (zip)</a></li>     <li><a href="/misc/goto?guid=4958990807639686045" rel="nofollow"><strong>Source code</strong> (tar.gz)</a></li>    </ul>