Re: Using UUID for unique key

2009-05-05 Thread vivek sar
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

Re: Using UUID for unique key

2009-05-05 Thread Yonik Seeley
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

Re: Using UUID for unique key

2009-05-05 Thread Otis Gospodnetic
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