Changeset 571 for trunk/grails-app/conf


Ignore:
Timestamp:
Jun 6, 2010, 12:11:11 AM (15 years ago)
Author:
gav
Message:

Start lucene mirroring and index after creating bootstrap data.

Location:
trunk/grails-app/conf
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/conf/BootStrap.groovy

    r508 r571  
    1616                createDataService.createBaseData()
    1717                createDataService.createDemoData()
     18                createDataService.startLucene()
    1819            }
    1920            test {
     
    2122                createDataService.ensureSystemAndAdminAccess()
    2223                createDataService.createBaseData()
     24                createDataService.startLucene(false)
    2325            }
    2426            production {
     
    2628                createDataService.ensureSystemAndAdminAccess()
    2729                createDataService.createBaseData()
     30                createDataService.startLucene()
    2831            }
    2932        }
  • trunk/grails-app/conf/Searchable.groovy

    r562 r571  
    124124     * If false, you must manage the index manually using index/unindex/reindex
    125125     */
    126     mirrorChanges = true
     126    mirrorChanges = false
    127127
    128128    /**
     
    137137     * which means do a non-forking, otherwise "fork" is recommended
    138138     */
    139     bulkIndexOnStartup = true
     139    bulkIndexOnStartup = false
    140140
    141141    /**
Note: See TracChangeset for help on using the changeset viewer.