Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 0.6
-
Component/s: None
-
Labels:None
-
Environment:Grails 1.1, Searchable 0.5.3
Description
We have noticed in a couple of projects that objects updated via
GORM are not automatically reindexed. However, objects created
(save()) are reindexed.
In https://svn.codehaus.org/grails-plugins/grails-searchable/trunk/src/conf/Searchable.groovy,
the following is stated:
/**
* Should changes made through GORM/Hibernate be mirrored to the index
* automatically (using Compass::GPS)?
*
* If false, you must manage the index manually using index/unindex/reindex
*/
mirrorChanges = true
But that doesn't work for us. We have to manually call domainObject.reindex()
A similar problem/workaround was posted to this list:
http://www.nabble.com/searchable-plugin%2C-missing-component-from-lucene-doc--td21067300.html
Issue Links
| This issue is duplicated by: | ||||
| GPSEARCHABLE-55 | Indexing only on application startup |
|
|
|
Hi all, we have similar issues in searchable 0.5.4.