If your index is that small then use clean=true and let DataImportHandler clear all documents at the start of the import. Don't bother with delta tables for such a small index.
On Tue, Dec 17, 2013 at 6:10 AM, kaustubh147 <kaustubh.j...@gmail.com> wrote: > > Hi, > > Glassfish 3.1.2.2 > Solr 4.5 > Zookeeper 3.4.5 > > We have set up a SolrCloud with 4 Solr nodes and 3 zookeeper instances. > I have 5 cores with 1 shard/4 replica setup on each of them. > > > One of our core is very small, and it takes less than one minute to index. > We run full import on it every hour with commit= true and clear =false but > full import does not delete documents which are no more there in database. > if I run the import with clear =true it will delete the index first and > shows 0 records during the import is in progress. > > For delta we will have to create a new table in database which will keep > track of deleted records. we dont want to go that route. > > Is there a way, where, we can run a full import with clear= true and solr > only update the data after the import is completed. > > > Regards, > Kaustubh > > > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/how-to-remove-documents-which-have-been-deleted-from-the-database-tp4107015.html > Sent from the Solr - User mailing list archive at Nabble.com. -- Regards, Shalin Shekhar Mangar.