Last updated by genuinefafa 3 years ago
0.5.5Lastest version, recommended if you are using Grails 1.1.1.
0.5.1This release fixes some bugs and includes new features. It is a recommended upgrade for all users.It has been tested with Grails 1.0.3, 1.0.4 and 1.1-beta1.JIRA release notes are here
0.5This release includes several bug fixes, adds few new search methods, exposes more Compass mapping options in the mapping DSL, uses the standard Grails config notation, and is now better tested :-)This release has been tested and confirmed working on Grails 1.0.4 and 1.0.3. It may or may not work on earlier versions.If you are upgrading from an older version of the plugin, please read the #Deprecated and #Bundles libs sections below.
New domain class/SearchableService methods and options
moreLikeThisFinds similar objects to the indicated searchable domain class instance. Docs
suggestQuerySuggest a new search query based on spelling. Docs
searchAs an alternative to the
search@, @searchTop@, @searchEveryand
countHitsmethods you can pass a new
resultoption to the
searchmethod to indicate what to return.Additionally the search method now supports a
suggestQueryoption, which returns a suggested query along with search results for the original query. Docs
Mapping DSLThe mapping DSL has better support for Compass Searchable Property, Reference and Component.Improved Searchable Id support.Support for class mapping including constant meta data and the all field.
Config improvementsThe plugin's configuration file now uses the same tech as your
Config.groovy@, so it now supports per-environment settings.method can be used for all instances of a classThis release splits the plugin into two versions, one called "searchable" for JDK 1.5+, and another called "searchable14" for JDK 1.4 users. They are almost identical except for a few files and will be maintained and released in tandem as long as Grails itself supports JDK 1.4.The plugin itself now has its own functional test suite, which better reflects the multitude of Grails domain class possibilities for mapping, searching etc.And it is now built on a (private) Continuous Integration server against the current production and development branches of Grails.
Bugs fixedGRAILSPLUGINS-254 - Trying to marshall null id [id]GRAILSPLUGINS-353 - org.hibernate.AssertionFailure collection was not processed by flush after calling Domain.properties = params
Other New and NoteworthyGRAILSPLUGINS-464 - Automatically unlocks locked indexes on startupGRAILSPLUGINS-299 - The @index
DeprecatedThis release deprecates a few features which will be removed in the next point release (0.6).The index management methods
reindexAllare deprecated; please use
index@, @unindex@, @reindexinstead, which provide the same functionality.The
SearchableConfiguration.groovyfile is deprecated. If you currently have a
SearchableConfiguration.groovy@, run @grails install-searchable-configto add a copy of the new config file to your project, place your settings in the new file and delete the old.The
defaultSearchOptionsconfg setting allowed you to define default options for your domain class/SearchableService
searchmethod. This idea has been expanded to accomodate the other Searchable methods, and you now define these defaults on a per-method basis in the
defaultMethodOptionsconfig setting. (See the new config file for details.)