On Tue, May 5, 2009 at 1:49 PM, vivek sar <vivex...@gmail.com> wrote:
>  I've a distributed Solr instances. I'm using Java's UUID
> (UUID.randomUUID()) to generate the unique id for my documents. Before
> adding unique key I was able to commit 50K records in 15sec (pretty
> constant over the growing index), after adding unique key it's taking
> over 35 sec for 50k and the time is increasing as the index size
> grows.

Using unique keys will be slower than not using them... it's extra
work that Lucene needs to do - internally it needs to do searches on
the ids to delete any previous versions.

-Yonik
http://www.lucidimagination.com

Reply via email to