Hi, thank you fort he help. I've tried:
dataimport?command=full-import&clean=false&optimize=false and this takes only 19 minutes.... the first run with optimihzie=true takes about 3 hours... the tomcat logs doesn't show any errors and 19 minutes is to long too, isn't it? Thanks, Ramo -----Ursprüngliche Nachricht----- Von: Ahmet Arslan [mailto:iori...@yahoo.com] Gesendet: Mittwoch, 7. März 2012 12:41 An: solr-user@lucene.apache.org Betreff: Re: DIH Delta index takes much time > i've indexed my 2 Million documents with DIH on solr. It uses a simple > select without joins where it fetches the distinct of title, and > furthermore ids, descriptions, urls . the first time I've indexed > this, it took about 1 hour. Every 1-2 days I get new entries which I > want to index. I'm doing and delta index as described here: > http://wiki.apache.org/solr/DataImportHandlerDeltaQueryViaFullImport > with the command: .dataimport?command=full-import&clean=false > now I've added 2 > more documents to the database, and run the command again. > Solr now indexes > over an hour. The last time I've indexed is two weeks ago, but in this > two weeks, nothing has changed. By default, both full and delta issues an optimize in the end. What happens if you disable it? .dataimport?command=full-import&clean=false&optimize=false .dataimport?command=delta-import&optimize=false