Changeset 622 for trunk/grails-app/controllers
- Timestamp:
- Jul 10, 2010, 10:48:50 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/controllers/AppCoreController.groovy
r562 r622 253 253 254 254 /** 255 * Rebuild the lucenetext search index.255 * Rebuild the text search index. 256 256 */ 257 257 @Secured(['ROLE_AppAdmin', 'ROLE_Manager']) 258 258 def rebuildTextSearchIndex = { 259 log.info "Rebuilding lucene text search index." 260 searchableService.reindex() 261 log.info "Rebuilding lucene text search index, complete." 262 263 flash.message = g.message(code:"default.update.success", args:["Index ", '']) 259 InventoryIndexJob.triggerNow(['calledBy':'AppCoreController rebuildTextSearchIndex{}']) 260 261 flash.message = g.message(code:"appCore.rebuild.text.search.index") 264 262 redirect(action: manager) 265 263 }
Note: See TracChangeset
for help on using the changeset viewer.