You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Jeff Leedy <le...@vtls.com> on 2011/08/30 17:06:05 UTC

Relative performance of updating documents of different sizes

I was curious to know if anyone has any information about the relative
performance of document updates (delete/add operations) on documents
of different sizes. I have a use case in which I can either create
large Solr documents first and subsequently add a small amount of
information to them, or do the opposite (add the small doc first, then
update with the big one.) My guess is that adding smaller ones first
will be faster, since the time to delete a small document is
presumably longer than the time to delete a small one.

Thanks,
Jeff

Re: Relative performance of updating documents of different sizes

Posted by Markus Jelsma <ma...@openindex.io>.
Document size should not have any impact on deleting document as they are only 
marked for deletion. 

On Tuesday 30 August 2011 17:06:05 Jeff Leedy wrote:
> I was curious to know if anyone has any information about the relative
> performance of document updates (delete/add operations) on documents
> of different sizes. I have a use case in which I can either create
> large Solr documents first and subsequently add a small amount of
> information to them, or do the opposite (add the small doc first, then
> update with the big one.) My guess is that adding smaller ones first
> will be faster, since the time to delete a small document is
> presumably longer than the time to delete a small one.
> 
> Thanks,
> Jeff

-- 
Markus Jelsma - CTO - Openindex
http://www.linkedin.com/in/markus17
050-8536620 / 06-50258350