lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "郭芸" <>
Subject Re: Re: Re: About Solr DataImportHandler
Date Wed, 08 Sep 2010 06:49:14 GMT
Thank you very much! I already know how to resolve my problem by your help!
And i have registed in
and I hope that someday  i can join this Open Source community to do something!



发件人: Alexey Serba 
发送时间: 2010-09-08  13:51:18 
收件人: dev 
主题: Re: Re: About Solr DataImportHandler 
> 2.But there are some problems:
> if the table is very big,solr will spend a long time to import and index,may
> be one day and once occurred network problems and others during this
> time,maybe solr can not remember what documents had processed,and if we
> continue data import ,we do not know where to start.
You can _batch_ import your data using full import command by
providing additional request parameter ( see
), i.e.
query="SELECT * FROM my_table ORDER BY id LIMIT 1000000 OFFSET
and then calling full-import command several times:
1) /dataimport?clean=true&offset=0
2) /dataimport?clean=false&offset=1000000
3) /dataimport?clean=false&offset=2000000
// Please use mailing list for such
questions. _dev_ is not appropriate place for this.
To unsubscribe, e-mail:
For additional commands, e-mail:
View raw message