On 10/31/06, Walter Underwood <[EMAIL PROTECTED]> wrote:
What is a good size for batching updates? My xml update docs are
around 600-700 bytes each right now.

There are two types of batches... documents per request (I wouldn't go
too big here) and documents added before a commit.

Bigger batches before a commit will be more efficient in general...
the only state that Solr keeps around before a commit is a
HashTable<String,Integer> entry per unique id deleted or overwritten.
You might be able to do your entire collection.

If you have a multi-CPU server, you could increase indexing
performance by using a multithreaded client to keep all the CPUs on
the server busy.

-Yonik

Reply via email to