Re: DIH with full-import and cleaning still keeps old index

2011-01-23 Thread Bernd Fehling

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=trueclean=truecommit=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



Re: DIH with full-import and cleaning still keeps old index

2011-01-23 Thread 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=trueclean=truecommit=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




Re: DIH with full-import and cleaning still keeps old index

2011-01-23 Thread Bernd Fehling

I sent commit=trueoptimize=true as a separate command but nothing
happened. Will try with additional options
waitFlush=falsewaitSearcher=falseexpungeDeletes=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=trueclean=truecommit=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 FehlingUniversitätsbibliothek Bielefeld
Dipl.-Inform. (FH)Universitätsstr. 25
Tel. +49 521 106-4060   Fax. +49 521 106-4052
bernd.fehl...@uni-bielefeld.de33615 Bielefeld

BASE - Bielefeld Academic Search Engine - www.base-search.net
*


Re: DIH with full-import and cleaning still keeps old index

2011-01-22 Thread 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=trueclean=truecommit=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



Re: DIH with full-import and cleaning still keeps old index

2011-01-20 Thread Bernd Fehling

Looks like this is a bug and I should write a jira issue for it?

Regards
Bernd

Am 20.01.2011 11:30, schrieb Bernd Fehling:
 Hi list,
 
 after sending full-import=trueclean=truecommit=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