I did clean up the indexes and re-started the index process from
scratch (new index file). As another test if I use simple numeric
counter for unique id the index speed is fast (within 20 sec for
commit 50k records). I'm thinking UUID might not be the way to go for
unique id - I'll look into using
On Tue, May 5, 2009 at 1:49 PM, vivek sar 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 addi
You really had nothing in uniqueKey element in schema.xml at first? I'm not
looking at Solr code right now, but it could be the lack of the cost of that
lookup that made things faster. Now you have a lookup + generation + more data
to pass through analyzer + write out, though I can't imagine