That''s a pretty low number of documents for auto complete. It means that when getting to 850,000 documents, you will create 8500 segments, and that's not counting merges.
How big are your documents? I just created an 850,000 document (and a 3.5 m doc index) with tiny documents (id and title), and they deleted quickly (17 milliseconds). Maybe if you post your delete code? Are you doing anything else (like commit/optimize?) Tom On Wed, Dec 8, 2010 at 12:55 PM, Ravi Kiran <ravi.bhas...@gmail.com> wrote: > Hello, > > Iam using solr 1.4.1 when I delete by query or Id from solrj it > is very very slow almost like a hang. The core form which Iam deleting has > close to 850K documents in the index. In the solrconfig.xml autocommit is > set as follows. Any idea how to speed up the deletion process. Please let me > know if any more info is required > > > > <updateHandler class=*"solr.DirectUpdateHandler2"*> > > <!-- Perform a <commit/> automatically under certain conditions: > > maxDocs - number of updates since last commit is greater than this > > maxTime - oldest *uncommited* update (in *ms*) is this long ago > --> > > <autoCommit> > > <maxDocs>100</maxDocs> > > <maxTime>120000</maxTime> > > </autoCommit> > > </updateHandler> > > > > Thanks, > > > > *Ravi Kiran Bhaskar* >