thanks for your reply but sorry for the delay as you said i have removed the commit while adding single document and set the auto commit for <maxDocs>200</maxDocs> <maxTime>10000</maxTime>
after setting when i run optimize() manually the size decreased to 350MB(100000 docs) from 638MB(100000 docs) i think this happened because i run the optimize for the first time on index data that is configured 4 months back.. this worked great but after one week again the index size reached 504MB (100000 docs) i don't understand why my solr index increasing daily when i am adding and deleting the same number of documents daily i run org.apache.solr.client.solrj.SolrServer.optimize() manually four times a day is it not the right way to run optimize, if yes what is the procedure to run optimize? thanks in advance :) -- View this message in context: http://www.nabble.com/delay-while-adding-document-to-solr-index-tp25676777p25798789.html Sent from the Solr - User mailing list archive at Nabble.com.