I sent commit=true&optimize=true as a separate command but nothing happened. Will try with additional options waitFlush=false&waitSearcher=false&expungeDeletes=true
I wonder why the DIH admin GUI (debug.jsp) is not sending optimize=true together with full-import ? Regards, Bernd Am 24.01.2011 08:12, schrieb Espen Amble Kolstad: > 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 >>>> >> -- ************************************************************* Bernd Fehling Universitätsbibliothek Bielefeld Dipl.-Inform. (FH) Universitätsstr. 25 Tel. +49 521 106-4060 Fax. +49 521 106-4052 bernd.fehl...@uni-bielefeld.de 33615 Bielefeld BASE - Bielefeld Academic Search Engine - www.base-search.net *************************************************************