I think optimize only ever gets done when either a full-import or delta-import is done. You could optimize the "normal" way though see: http://wiki.apache.org/solr/UpdateXmlMessages
- Espen On Mon, Jan 24, 2011 at 8:05 AM, Bernd Fehling <bernd.fehl...@uni-bielefeld.de> wrote: > > Is there a difference between sending optimize=true with > the full-import command or sending optimize=true as > a separate command after finishing full-import? > > Regards, > Bernd > > > Am 23.01.2011 02:18, schrieb Espen Amble Kolstad: >> Your not doing optimize, I think optimize would delete your old index. >> Try it out with additional parameter optimize=true >> >> - Espen >> >> On Thu, Jan 20, 2011 at 11:30 AM, Bernd Fehling >> <bernd.fehl...@uni-bielefeld.de> wrote: >>> Hi list, >>> >>> after sending full-import=true&clean=true&commit=true >>> Solr 4.x (apache-solr-4.0-2010-11-24_09-25-17) responds with: >>> - DataImporter doFullImport >>> - DirectUpdateHandler2 deleteAll >>> ... >>> - DocBuilder finish >>> - SolrDeletionPolicy.onCommit: commits:num=2 >>> - SolrDeletionPolicy updateCommits >>> - SolrIndexSearcher <init> >>> - INFO: end_commit_flush >>> - SolrIndexSearcher warm >>> ... >>> - QuerySenderListener newSearcher >>> - SolrCore registerSearcher >>> - SolrIndexSearcher close >>> ... >>> >>> This all looks good to me but why is the old index not deleted? >>> >>> Am I missing a parameter? >>> >>> Regards, >>> Bernd >>> >