Ignore:
Timestamp:
Jun 7, 2010, 10:19:48 PM (14 years ago)
Author:
gav
Message:

Small adjustment to rebuilding index log messages.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/services/CreateDataService.groovy

    r576 r580  
    15251525    /**
    15261526    * Lucene index and mirroring is disabled at startup.
    1527     * Us this to start lucene indexing after creating bootstrap data.
     1527    * Us this to start Lucene indexing after creating bootstrap data.
    15281528    * @param indexInNewThread Whether to run the index in a new thread, defaults to true.
    15291529    */
    15301530    def startLucene(Boolean indexInNewThread = true) {
    1531         log.info "Start mirroring lucene index."
     1531        log.info "Start mirroring Lucene index."
    15321532        searchableService.startMirroring()
    15331533        if(indexInNewThread) {
    15341534            Thread.start {
    1535                 log.info "Rebuilding lucene text search index, bulkIndex in new thread."
     1535                log.info "Rebuilding Lucene index, bulkIndex (new thread)."
    15361536                searchableService.index()
    1537                 log.info "Rebuilding lucene text search index, complete."
     1537                log.info "Rebuilding Lucene index, complete."
    15381538            }
    15391539        }
    15401540        else {
    1541             log.info "Rebuilding lucene text search index, bulkIndex."
     1541            log.info "Rebuilding Lucene index, bulkIndex."
    15421542            searchableService.index()
    1543             log.info "Rebuilding lucene text search index, complete."
     1543            log.info "Rebuilding Lucene index, complete."
    15441544        }
    15451545    }
Note: See TracChangeset for help on using the changeset viewer.