Re: Optimize after delta-import (DIH)

2010-03-30 Thread Ahmet Arslan
 According to the wiki: http://wiki.apache.org/solr/DataImportHandler#Commands
 the delta-import command will accept the same clean, commit
 and optimize
 parameters that the full-import command takes but I am my
 index keeps saying
 its not optimized.
 
 [java] INFO: [items] webapp=/solr path=/dataimport
 params={optimize=trueclean=truecommit=truecommand=delta-import}
 status=0
 QTime=1 
 
 Also can someone explain to me exactly what the clean
 command does? The wiki
 states: Tells whether to clean up the index before the
 indexing is started
 but thats kind of vague. What does it actually do?

clean=true deletes entire solr index (delete by query *:*) before import 
operation. By default it is true in full-import, false in delta-import.

optimize=true by default in delta-import. 
So just solr/dataimport?command=delta-import should do optimize.

you should see something like:
str name=Optimized2010-03-30 10:13:14/str

May be your delta-import is not updating/adding/deleting any documents.


  


Optimize after delta-import (DIH)

2010-03-29 Thread Blargy

According to the wiki: http://wiki.apache.org/solr/DataImportHandler#Commands
the delta-import command will accept the same clean, commit and optimize
parameters that the full-import command takes but I am my index keeps saying
its not optimized.

[java] INFO: [items] webapp=/solr path=/dataimport
params={optimize=trueclean=truecommit=truecommand=delta-import} status=0
QTime=1 

Also can someone explain to me exactly what the clean command does? The wiki
states: Tells whether to clean up the index before the indexing is started
but thats kind of vague. What does it actually do?

Thanks
-- 
View this message in context: 
http://n3.nabble.com/Optimize-after-delta-import-DIH-tp685147p685147.html
Sent from the Solr - User mailing list archive at Nabble.com.