You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Anderson vasconcelos <an...@gmail.com> on 2012/02/08 19:31:23 UTC

Using UUID for uniqueId

HI all

If i use the UUID like a uniqueId in the future if i break my index in
shards, i will have problems? The UUID generation could generate the same
UUID in differents machines?

Thanks

Re: Using UUID for uniqueId

Posted by Anderson vasconcelos <an...@gmail.com>.
Thanks
2012/2/8 François Schiettecatte <fs...@gmail.com>

> Anderson
>
> I would say that this is highly unlikely, but you would need to pay
> attention to how they are generated, this would be a good place to start:
>
>        http://en.wikipedia.org/wiki/Universally_unique_identifier
>
> Cheers
>
> François
>
> On Feb 8, 2012, at 1:31 PM, Anderson vasconcelos wrote:
>
> > HI all
> >
> > If i use the UUID like a uniqueId in the future if i break my index in
> > shards, i will have problems? The UUID generation could generate the same
> > UUID in differents machines?
> >
> > Thanks
>
>

Re: Using UUID for uniqueId

Posted by François Schiettecatte <fs...@gmail.com>.
Anderson

I would say that this is highly unlikely, but you would need to pay attention to how they are generated, this would be a good place to start:

	http://en.wikipedia.org/wiki/Universally_unique_identifier

Cheers

François

On Feb 8, 2012, at 1:31 PM, Anderson vasconcelos wrote:

> HI all
> 
> If i use the UUID like a uniqueId in the future if i break my index in
> shards, i will have problems? The UUID generation could generate the same
> UUID in differents machines?
> 
> Thanks