Ignore:
Timestamp:
Jul 10, 2010, 10:48:50 PM (14 years ago)
Author:
gav
Message:

Apply bug fix for ticket #76.
Rename all instances of Lucene to Searchable.
Improved global directory config.
Add log levels for searchable plugin and compass.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/controllers/AppCoreController.groovy

    r562 r622  
    253253
    254254    /**
    255     * Rebuild the lucene text search index.
     255    * Rebuild the text search index.
    256256    */
    257257    @Secured(['ROLE_AppAdmin', 'ROLE_Manager'])
    258258    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")
    264262        redirect(action: manager)
    265263    }
Note: See TracChangeset for help on using the changeset viewer.