Hi

I've a little problem with optimization which is very interesting but juste
one time per day otherwise replication take ages to bring back index hard
link.

So my cron is every 30mn :
/solr/user/dataimport?command=delta-import&optimize=false&commit=false
otherwise i've cron for optimizing every six hours :
0 */6 * * * /data/solr/user/bin/optimize

But I don't get why in my logs I've :
Mar 18 05:35:34 search-01 jsvc.exec[12612]: Mar 18, 2009 5:35:34 AM
org.apache.solr.handler.dataimport.SolrWriter persistStartTime INFO: Wrote
last indexed time to dataimport.properties
Mar 18 05:35:34 search-01 jsvc.exec[12612]: Mar 18, 2009 5:35:34 AM
org.apache.solr.handler.dataimport.DocBuilder commit INFO: Full Import
completed successfully
Mar 18 05:35:34 search-01 jsvc.exec[12612]: Mar 18, 2009 5:35:34 AM
org.apache.solr.update.DirectUpdateHandler2 commit INFO: start
commit(optimize=true,waitFlush=false,waitSearcher=true)
Mar 18 05:35:36 search-01 jsvc.exec[12612]: Mar 18, 2009 5:35:35 AM
org.apache.solr.update.DirectUpdateHandler2 commit INFO: start
commit(optimize=false,waitFlush=false,waitSearcher=true)

I've a commit which is not automatic in solrconfig but by cronjob every 30mn
*/30 * * * * /data/solr/user/bin/commit

Any idea would be excellent, thanks a lot,




-- 
View this message in context: 
http://www.nabble.com/optimize-after-a-commit-don%27t-know-why--tp22576374p22576374.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to