Swapna,

Your answers are inline.

2009/9/30 swapna_here <swapna.here...@gmail.com>:
>
> hi all,
>
> I have indexed 100000 documents (daily around 5000 documents will be indexed
> one at a time to solr)
> at the same time daily few(around 2000) indexed documents (added 30 days
> back) will be deleted using DeleteByQuery of SolrJ
> Previously each document used to be indexed within 5ms..
> but recently i am facing a delay (sometimes 2min to 10 min) while adding
> document to index.
> And my index (folder) size is also increased to 625MB which is very large
> Previously it was around 230MB
>
> My Questions are:
>
> 1) is solr not deleting the older documents(added 30 days back) permenently
> from index event after committing

Have you run optimize?

> 2)Why the index size is increased

If 5000 docs are added daily and only 2000 deleted, the index size
would increase because of the remaining 3000 documents.

> 3)reason for delay (2min to 10 mins) while adding the document one at a time
> to index

I don't know why this would happen. Is your disk nearly full? Which OS
are you running on? What is the configuration of Solr?

> Help is appreciated
>
> Thanks in advance..
>
> --
> View this message in context: 
> http://www.nabble.com/delay-while-adding-document-to-solr-index-tp25676777p25676777.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>
>

Hope this helps
Pravin

Reply via email to