after debugging for a while it was found that optmizer
thread is not running.The following properties were provided for the compass indexer in the spring config file.
<prop key="compass.engine.optimizer.schedule">true</prop>
<prop key="compass.engine.optimizer.schedule.period">200</prop>
<prop key="compass.engine.optimizer.schedule.daemon">true</prop>
<prop key="compass.engine.optimizer.type">
org.compass.core.lucene.engine.optimizer.AdaptiveOptimizer</prop>
<prop key="compass.engine.optimizer.adaptive.mergeFactor">200</prop>
The Optimizer doesn't pick up these properties
corresponding to
compass.engine.optimizer.schedule.daemon
compass.engine.optimizer.schedule
and
compass.engine.optimizer.schedule.period
and doesn't scheule a daemon thread for Optimizer. Other properties are picked up fine.
Is it imperative to start the daemon thread manullly when loading the compassIndexer programmtically?Is there any way we could just have the configuration changes and have the optimizer thread running?
These properties have been defined in the spring configuration file which is used to initialize the Compass Indexer bean.
--Rgds
Ramraj