> 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