Some questions: What version of Solr? Has the number of documents in your index changed in the meantime? How many before, how many now? How does maxdocs compare to numdocs? Has this system ever been upgraded from an older Solr? Is it committing that is taking that long, or opening a searcher one the commit is done?
Maybe answers to these might help unpick your issue. Upayavira On Thu, Jan 17, 2013, at 06:22 AM, Cool Techi wrote: > Hi, > > We have an index of approximately 400GB in size, indexing 5000 documents > was taking 20 seconds. But lately, the indexing is taking very long, > committing the same amount of document is taking 5-20 mins. > > On checking the logs I can see that their a frequent merges happening, > which I am guessing is the reason for this, how can this be improved. My > configurations are given below, > > <useCompoundFile>false</useCompoundFile> > <mergeFactor>30</mergeFactor> > <ramBufferSizeMB>64</ramBufferSizeMB> > > regards, > Ayush >