Hi,

 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. Here is my schema setting for unique key,

<field name="id" type="string" indexed="true" stored="true"
required="true" omitNorms="true" compressed="false"/>

Why is commit taking so long? Should I not be using UUID key for
unique keys? What are other options - timestamp etc.?

Thanks,
-vivek

Reply via email to