在 Hibernate Search 3.0 发布后不久,Compass 1.2 也摘去了 RC 的牌子,正式发布。
大家可以访问它的官方网站查看详细信息:http://www.opensymphony.com/compass/
From : http://www.kimchy.org/compass-12-released/
I am pleased to announce the release of Compass 1.2 version. Compass 1.2 is the formal release of version 1.2 and includes many improvements, bug fixes, and performance enhancements over version 1.1. The list of features is very long and includes features listed for 1.2 M1, 1.2 M2, 1.2 M3 and 1.2 RC1. Features included in the 1.2 GA release include (a complete list can be found here):
Null Value
When mapping a property of a class, a null value can be defined on the mappings which will be saved in the index if the actual property value is null. This allows to simply search on properties that has no value.
Improved Property Managed Id
When working with marshaling turned on, Compass will try and create an internal id (if required) in order to unmarshal the object correctly from the index. Now, there is an additional setting which instructs Compass not to create an internal id if all the mappings have store=”no”. The managed id setting can now be set on a specific property, as well as being set on class mappings and globally.
Improved No-Unmarshal Mode
Compass can work in no unmarshal mode there is no need to get the Object constructed back from the index. In this mode Compass does not store additional information in the index and performs the indexing much faster. Now, by calling the appropriate method in order to get an Object back, Compass will return the Object with its ids set. This allows for simpler integration with ORM libraries where loading the object from the database using the ORM tool is needed.
posted on 2007-10-17 08:43
steady 阅读(1106)
评论(3) 编辑 收藏